up

Filter

Actions related to filters in the campaign composer.

Get filter

There are a number of different filter types within SendCastle, this facilitates some of that funcationality.

HTTP method: GET
http://api.sendcastle.com/v1/filter/[123]
cURL example
curl http://api.sendcastle.com/v1/filter/[123] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json"
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":{
		"UNKNOWN_RETURN_OBJECT: 'filter.'":{
		"id":"1",
		"xxx"
	}
}
Other constraints:
  • Identifier should be an integer
  • No additional parameters required, unless stated elsewhere
  • No extra security requirements
  • Requires read access
Create filter

There are a number of different filter types within SendCastle, this facilitates some of that funcationality.

HTTP method: PUT
http://api.sendcastle.com/v1/filter/[123]
cURL example
curl http://api.sendcastle.com/v1/filter/[123] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json" \ -X PUT
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":{
		"id":"1"
	}
}
Other constraints:
  • Identifier should be an integer
  • No additional parameters required, unless stated elsewhere
  • No extra security requirements
  • Requires create access
Change filter

There are a number of different filter types within SendCastle, this facilitates some of that funcationality.

HTTP method: POST
http://api.sendcastle.com/v1/filter/[123]
cURL example
curl http://api.sendcastle.com/v1/filter/[123] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json" \ -X POST
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":true
}
Other constraints:
  • Identifier should be an integer
  • No additional parameters required, unless stated elsewhere
  • No extra security requirements
  • Requires write access
  • VC_VRONOIT
  • VC_VRO
Delete filter

There are a number of different filter types within SendCastle, this facilitates some of that funcationality.

HTTP method: DELETE
http://api.sendcastle.com/v1/filter/[123]
cURL example
curl http://api.sendcastle.com/v1/filter/[123] \
	-H "Authorization: Bearer YOUR_API_SECRET_HERE" \
-H "Content-Type: application/json" \ -X DELETE
Example of result
{
	"responseId":"50cef8fcaxxxx",
	"version":1,
	"success":true,
	"data":true
}
Other constraints:
  • Identifier should be an integer
  • No additional parameters required, unless stated elsewhere
  • No extra security requirements
  • Requires delete access
  • VC_VRONOIT
  • VC_VRO