Query broadcasts
Queries broadcasts within the given project.
Note: To be notified of new broadcasts as they are sent, use the Webhook API.
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/broadcasts
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://telerivet.com/oauth/authorize, token URL https://api.telerivet.com/oauth/token)
Path parameters
ID of the Project
Query parameters
Unix timestamp in seconds
Filter broadcasts created on or after a particular time
Unix timestamp in seconds
Filter broadcasts created before a particular time
Unix timestamp in seconds
Filter broadcasts with most recent message on or after a particular time
Unix timestamp in seconds
Filter broadcasts with most recent message before a particular time
Sort the results based on a field
Sort the results in ascending or descending order
Number of results returned per page (max 500)
Number of items to skip from beginning of result set
'next_marker' property returned by a previous call to this API method, indicating where the next page of results should start.
If true, the API will return the count of items matching the filter, instead of the items themselves
Response
Successful response. When count=1 parameter is provided, returns {"count": N} instead.
Example response
{
"data": [
{
"id": "MB2489812e59c5c781",
"title": "+16505550123, Subscribers, Contact Filter",
"time_created": 1390348075,
"last_message_time": 1390348085,
"last_send_time": 1390348086,
"message_count": 8358,
"estimated_count": 12942,
"num_parts": 12321,
"message_type": "sms",
"content": "Hello [[contact.name]]!",
"replace_variables": true,
"status": "queuing",
"source": "service",
"clicked_count": 12,
"price": 13.34,
"price_currency": "USD",
"reply_count": 43,
"last_reply_time": 1390348132,
"route_id": "RT2a586298d3412adf",
"service_id": "SV3d246818d0e3d1fb",
"url": "https://telerivet.com/p/asdf/broadcast/MB2489812e59c5c781",
"user_id": "URba3e403e98f49735",
"project_id": "PJ2ad0100821a98bea"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.