archive_type | An archive_type to filter by, like: run, message (optional) |
period | A period to filter by: daily, monthly (optional) |
id | A broadcast ID to filter by, ex: 123456 (optional) |
before | Only return broadcasts created before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return broadcasts created after this date, ex: 2015-01-28T18:00:00.000 (optional) |
text | The text of the message you want to send (required) |
urns | The URNs of contacts you want to send to (optional) |
contacts | The UUIDs of contacts you want to send to (optional) |
groups | The UUIDs of contact groups you want to send to (optional) |
uuid | A campaign UUID to filter by (optional) |
uuid | UUID of the campaign to be updated (optional) |
name | The name of the campaign (required) |
group | The UUID of the contact group operated on by the campaign (required) |
uuid | A campaign event UUID to filter by (optional) |
campaign | A campaign UUID or name to filter (optional) |
uuid | The UUID of the campaign event to update (optional) |
campaign | The UUID of the campaign this event belongs to (optional) |
relative_to | The key of the contact field this event is relative to. (string) (required) |
offset | The offset from the relative_to field value (integer, positive or negative) (required) |
unit | The unit of the offset (one of "minutes, "hours", "days", "weeks") (required) |
delivery_hour | The hour this event should be triggered, or -1 if the event should be sent at the same hour as our date (integer, -1 or 0-23) (required) |
message | The message that should be sent to the contact when this event is triggered (string) (optional) |
flow | The UUID of the flow that the contact should start when this event is triggered (string) (optional) |
uuid | The UUID of the campaign event to delete (optional) |
uuid | A channel UUID to filter by. ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
address | A channel address to filter by. ex: +250783530001 (optional) |
id | An event ID to filter by. ex: 12345 (optional) |
contact | A contact UUID to filter by. ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
before | Only return events created before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return events created after this date, ex: 2015-01-28T18:00:00.000 (optional) |
uuid | A classifier UUID to filter by. ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
before | Only return classifiers created before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return classifiers created after this date, ex: 2015-01-28T18:00:00.000 (optional) |
uuid | A contact UUID to filter by. ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
urn | A contact URN to filter by. ex: tel:+250788123123 (optional) |
group | A group name or UUID to filter by. ex: Customers (optional) |
deleted | Whether to return only deleted contacts. ex: false (optional) |
before | Only return contacts modified before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return contacts modified after this date, ex: 2015-01-28T18:00:00.000 (optional) |
uuid | UUID of the contact to be updated (optional) |
urn | URN of the contact to be updated. ex: tel:+250788123123 (optional) |
name | List of UUIDs of this contact's groups. (optional) |
language | Preferred language of the contact (3-letter ISO code). ex: fre, eng (optional) |
urns | List of URNs belonging to the contact. (optional) |
groups | List of UUIDs of groups that the contact belongs to. (optional) |
fields | Custom fields as a JSON dictionary. (optional) |
uuid | UUID of the contact to be deleted (optional) |
urn | URN of the contact to be deleted. ex: tel:+250788123123 (optional) |
contacts | The UUIDs of the contacts to update (required) |
action | One of the following strings: add, remove, block, unblock, interrupt, archive_messages, delete, archive (required) |
group | The UUID or name of a contact group (optional) |
flow | One or more flow UUIDs to include (optional) |
campaign | One or more campaign UUIDs to include (optional) |
dependencies | Whether to include dependencies of the requested items. ex: false (optional) |
key | A field key to filter by. ex: nick_name (optional) |
key | Key of an existing field to update (optional) |
name | The display name of the field (required) |
type | The data type of the field (required) |
uuid | A flow UUID filter by. ex: 5f05311e-8f81-4a67-a5b5-1501b6d6496a (optional) |
before | Only return flows modified before this date, ex: 2017-01-28T18:00:00.000 (optional) |
after | Only return flows modified after this date, ex: 2017-01-28T18:00:00.000 (optional) |
id | Only return the flow start with this id (optional) |
after | Only return flow starts modified after this date (optional) |
before | Only return flow starts modified before this date (optional) |
flow | The UUID of the flow to start (required) |
groups | The UUIDs of any contact groups you want to start (optional) |
contacts | The UUIDs of any contacts you want to start (optional) |
urns | The URNS of any contacts you want to start (optional) |
restart_participants | Whether to restart any participants already in the flow (optional) |
extra | Any extra parameters to pass to the flow start (optional) |
before | Only return globals modified before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return globals modified after this date, ex: 2015-01-28T18:00:00.000 (optional) |
key | A global key filter by (optional) |
key | Key of an existing global to update (optional) |
name | the Name value of the global (optional) |
value | the new value of the global (required) |
uuid | A contact group UUID to filter by (optional) |
name | A contact group name to filter by (optional) |
uuid | The UUID of the contact group to update (optional) |
name | The name of the contact group (required) |
uuid | The UUID of the contact group to delete (required) |
uuid | A message label UUID to filter by (optional) |
name | A message label name to filter by (optional) |
uuid | The UUID of the message label to update (optional) |
name | The name of the message label (required) |
uuid | The UUID of the message label to delete (required) |
id | A message ID to filter by, ex: 123456 (optional) |
broadcast | A broadcast ID to filter by, ex: 12345 (optional) |
contact | A contact UUID to filter by, ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
folder | A folder name to filter by, one of: inbox, flows, archived, outbox, sent, failed (optional) |
label | A label name or UUID to filter by, ex: Spam (optional) |
before | Only return messages created before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return messages created after this date, ex: 2015-01-28T18:00:00.000 (optional) |
messages | The ids of the messages to update (required) |
action | One of the following strings: label, unlabel, archive, restore, delete (required) |
label | The UUID or name of a message label (optional) |
resthook | The slug for the resthook you want to subscribe to (required) |
target_url | The URL that will be called when the resthook is triggered. (required) |
id | The id of the subscriber to delete (required) |
id | A run ID to filter by, ex: 123456 (optional) |
flow | A flow UUID to filter by, ex: f5901b62-ba76-4003-9c62-72fdacc1b7b7 (optional) |
contact | A contact UUID to filter by, ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
responded | Whether to only return runs with contact responses (optional) |
before | Only return runs modified before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return runs modified after this date, ex: 2015-01-28T18:00:00.000 (optional) |
uuid | A ticketer UUID to filter by. ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
before | Only return ticketers created before this date, ex: 2015-01-28T18:00:00.000 (optional) |
after | Only return ticketers created after this date, ex: 2015-01-28T18:00:00.000 (optional) |
contact | A contact UUID to filter by, ex: 09d23a05-47fe-11e4-bfe9-b8f6b119e9ab (optional) |
tickets | The UUIDs of the tickets to update (required) |
action | One of the following strings: assign, add_note, change_topic, close, reopen (required) |
assignee | The email address of a user (optional) |
note | The note text (optional) |
uuid | The UUID of the topic to update (optional) |
name | The name of the topic (required) |