cURL
curl --request GET \ --url https://dev-public-api.openphone.dev/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.
The unique identifier of a message
"AC123abc"
Success
Show child attributes
Was this page helpful?