Skip to main content
GET
/
v1
/
messages
/
{id}
Get a message by ID
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"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The unique identifier of a message

Example:

"AC123abc"

Response

Success

data
object
required