Skip to main content
GET
Get a message

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

id
string
required

Response

Message

object
string
Example:

"message"

id
string
Example:

"msg_..."

direction
enum<string>
Available options:
outbound,
inbound
channel
enum<string>
Available options:
sms,
mms,
rcs,
link
from
string
to
string
body
string
media_urls
string<uri>[]
use_case
enum<string>
Available options:
transactional,
marketing,
otp
campaign_id
string | null
status
enum<string>
Available options:
queued,
blocked,
dispatching,
sent,
delivered,
undelivered,
failed,
received
failure_code
string | null
created_at
string<date-time>
updated_at
string<date-time>