Authorizations
Path Parameters
The unique identifier of a message
Examples:
"AC123abc"
Response
Success
curl --request GET \
--url https://api.openphone.com/v1/messages/{id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "AC123abc",
"to": [
"+15555555555"
],
"from": "+15555555555",
"text": "Hello, world!",
"phoneNumberId": "PN123abc",
"direction": "incoming",
"userId": "US123abc",
"status": "sent",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z"
}
}
Get a message by its unique identifier.
curl --request GET \
--url https://api.openphone.com/v1/messages/{id} \
--header 'Authorization: <api-key>'
{
"data": {
"id": "AC123abc",
"to": [
"+15555555555"
],
"from": "+15555555555",
"text": "Hello, world!",
"phoneNumberId": "PN123abc",
"direction": "incoming",
"userId": "US123abc",
"status": "sent",
"createdAt": "2022-01-01T00:00:00Z",
"updatedAt": "2022-01-01T00:00:00Z"
}
}
The unique identifier of a message
"AC123abc"
Success
Show child attributes
Was this page helpful?