Query scheduled messages for a contact
Queries messages scheduled to this contact (not including messages scheduled to groups that this contact is a member of)
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/contacts/{id}/scheduled
- 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
ID of the Contact
Query parameters
Filter scheduled messages by message_type
Unix timestamp in seconds
Filter scheduled messages by time_created
Unix timestamp in seconds
Filter scheduled messages by next_time
ID of RelativeScheduledMessage
Filter scheduled messages created for a relative scheduled message
Filter scheduled messages by whether they are awaiting approval by a reviewer (see the pending_review property)
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": "SEfaf2411ed3584f08",
"content": "hello world!",
"rrule": "COUNT=1",
"timezone_id": "America/Los_Angeles",
"recipients_str": "+16505550123, Subscribers",
"route_id": "PN4d246818d0ecd1fa",
"service_id": "SV3d246818d0e3d1fb",
"message_type": "sms",
"time_created": 1395617416,
"start_time": 1395617516,
"next_time": 1395617516,
"relative_scheduled_id": "PJ2ad0100821a98bea",
"project_id": "PJ2ad0100821a98bea"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.