Messages
Create a Message
Create a message.
Permissions
The API token must include the following scopes: Messaging.
post/Accounts/{AccountSid}/Messages
Path parameters
AccountSidstring uuid required
The unique identifier of the project that sent or received this message.
Response
OK
Example response
{
"account_sid": "ea108133-d6b3-407c-9536-9fad8a929a6a",
"api_version": "2010-04-01",
"body": "Hello World!",
"date_created": "Mon, 13 Aug 2018 21:38:46 +0000",
"date_sent": "null",
"date_updated": "Mon, 13 Aug 2018 21:38:46 +0000",
"direction": "outbound-api",
"from": "+15551234567",
"price_unit": "USD",
"sid": "0a059168-ead0-41af-9d1f-343dae832527",
"status": "sent",
"to": "+15557654321",
"messaging_service_sid": "null",
"uri": "/api/laml/2010-04-01/Accounts/ea108133-d6b3-407c-9536-9fad8a929a6a/Messages/0a059168-ead0-41af-9d1f-343dae832527",
"subresource_uris": {
"media": "/api/laml/2010-04-01/Accounts/ea108133-d6b3-407c-9536-9fad8a929a6a/Messages/0a059168-ead0-41af-9d1f-343dae832527/Media"
}
}