up

Accountevents

The description of the accountevents API is not yet available.

Get account event

An account event is a significant thing that has happened to your account, for instance the export of a datasource or similar. Some events can have an attachment which can be downloaded; in the case of an imported datasource it contains a report of what was imported.

HTTP method: GET
http://api.sendcastle.com/v1/accountevents/[123]
http://api.sendcastle.com/v1/accountevents/[all]
cURL example
curl http://api.sendcastle.com/v1/accountevents/[123] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json"
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":{
		"emt_accountevents":{
		"id":"1",
		"xxx"
	}
}
Other constraints:
  • Identifier can be an integer or 'all'
  • Requires read access
Get rendered account event

A rendered version of account events.

HTTP method: GET
http://api.sendcastle.com/v1/accountevents/[xx]/render/[yy]
cURL example
curl http://api.sendcastle.com/v1/accountevents/[xx]/render/[yy] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json"
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":{
		"n/a":{
		"id":"1",
		"xxx"
	}
}
Other constraints:
  • Parent identifier cannot be all
  • Requires read access