curl --request GET \
--url https://api.openphone.com/v1/messages/{id} \
--header 'Authorization: <api-key>'{
"data": {
"id": "<string>",
"to": [
"<string>"
],
"from": "<string>",
"text": "<string>",
"phoneNumberId": "PN123abc",
"direction": "incoming",
"userId": "<string>",
"status": "queued",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Get a message by its unique identifier.
curl --request GET \
--url https://api.openphone.com/v1/messages/{id} \
--header 'Authorization: <api-key>'{
"data": {
"id": "<string>",
"to": [
"<string>"
],
"from": "<string>",
"text": "<string>",
"phoneNumberId": "PN123abc",
"direction": "incoming",
"userId": "<string>",
"status": "queued",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Was this page helpful?