Send or schedule a notification
Create a campaign for one of four audiences: device_ids, external_ids, all devices, or a saved audience (audience_id). Sending runs asynchronously. Use Idempotency-Key for retries and dedup_key to reject duplicate business notifications for 30 days.
Create a campaign for one of four audiences: device_ids, external_ids, all devices, or a saved audience (audience_id). Sending runs asynchronously. Use Idempotency-Key for retries and dedup_key to reject duplicate business notifications for 30 days.
Authorization
ApiKey An API key, sent as Authorization: Bearer carillon_sk_live_…. A secret key sends, reads traces and manages devices; a mobile key may only register its own device and report that device’s events.
In: header
Header Parameters
Retry key retained for 24 hours. Reuse the same key and identical request-body bytes to receive the original response. A different body returns 422; a concurrent request returns 409.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/messages" \ -H "Content-Type: application/json" \ -d '{ "audience": { "device_ids": [ "743d709b-361e-4f32-8914-0bf36add9bdd" ] }, "payload": {} }'{ "audience": { "kind": "device_ids", "size": 0 }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "sending", "mode": "live", "created_at": "2019-08-24T14:15:22Z", "deliveries": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "device_id": "3bafab7b-4400-4bcf-8e6e-09f954699940" } ], "warnings": [ { "code": "no_valid_credential", "platform": "ios", "detail": "string", "devices": 0, "reason": "string", "credential": { "key_id": "string", "rejected_at": "2019-08-24T14:15:22Z" } } ]}List notification tags used in this app GET
Distinct tags from stored campaigns in this app and API key mode. Does not list device or user tags. No queue is required.
Remove a device DELETE
Deletes the device row. Delivery traces and usage already counted for the current month are kept. Removing an unknown or already removed id also answers 204.