Message
Get message by ID
Retrieves the message with the given ID.
get/v1/projects/{project_id}/messages/{id}
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/messages/{id}
- 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
project_idstring required
ID of the Project
idstring required
ID of the message
Response
Successful response
Example response
{
"id": "SM1629708e59c5c781",
"direction": "outgoing",
"status": "sent",
"message_type": "sms",
"source": "service",
"time_created": 1390347812,
"time_sent": 1390347814,
"time_updated": 1390347818,
"from_number": "+16505550001",
"to_number": "+16505550123",
"content": "Thank you for registering!",
"starred": true,
"priority": 1,
"send_attempts": 1,
"external_id": "142092393",
"num_parts": 1,
"price": 0.01,
"price_currency": "USD",
"service_id": "SV3d246818d0e3d1fb",
"phone_id": "PN4d246818d0ecd1fa",
"contact_id": "CTa1299c3d0e371023",
"route_id": "RT2a586298d3412adf",
"broadcast_id": "MB98918598dab29800",
"scheduled_id": "SEa502e6f9d23f1cb6",
"user_id": "URba3e403e98f49735",
"project_id": "PJ2ad0100821a98bea",
"url": "https://telerivet.com/p/asdf/message/SM1629708e59c5c781"
}Changes
No recorded changes to this operation across all 1 revision of this API.