---
title: "Get Single Message"
method: GET
path: "/v1/messages/{id}"
tags: ["Messages"]
---

# Get Single Message

`GET /v1/messages/{id}`

## Request

- Base URL: `https://api.dexatel.com`
- URL: `https://api.dexatel.com/v1/messages/{id}`
- Auth: API key in header `X-Dexatel-Key`

## Response `200`

OK

- MessageResponseWrapperDto
  - `data` object
    - `id` string, uuid: Unique identifier of the message
    - `account_id` string, uuid: Unique identifier of the account
    - `from` string: Identifier of the sender(name)
    - `to` string: Recipients phone number
    - `channel` 'SMS' | 'VIBER' | 'WHATSAPP': Delivery channel of the message. Enumeration values [SMS, VIBER, WHATSAPP]
    - `status` 'delivered' | 'sent' | 'failed' | 'enroute' | 'read' | 'rejected' | 'unsubscribed' | 'expired' | 'blocked': Message status. Enumeration values [delivered, sent, failed, enroute, read, rejected, unsubscribed, expired, blocked]
    - `text` string: Text of the message
    - `button` object
      - `type` string: Button type of the message
      - `text` string: Button text of the message
      - `value` string: Button value of the message
      - `button_variables` string[]: Dynamic URL segment values for call_to_action buttons.
    - `create_date` string, date-time: Creation date of the message in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `update_date` string, date-time: Update date of the message in UTC, formatted as yyyy-mm-dd hh:mm:ss
    - `segment_count` integer: The count of message parts for [SMS] Channel, other channel messages are always in 1 segment
    - `encoding` string: Encoding of the [SMS] message. Enumeration Values [GSM-7, UCS-2]
    - `country` string: ISO code of the recipients number
    - `price` number: Amount charged for the message in accounts currency
    - `links` object
      - `self` string: URL of the requested resource
      - `account` string: URL of the account

## Other responses

- `404`: **Not Found:** Code Message 1501 Message is not found

---

[API](https://skmtc.dev/dexatel/apis/contacts-and-messaging.md) - [All operations](https://skmtc.dev/dexatel/apis/contacts-and-messaging/llms.txt) - [OpenAPI document](https://skmtc.dev/dexatel/apis/contacts-and-messaging/revisions/f07e4f03a129?raw)
