Sign inGet Started

Get a conversation

GET
/v1/amb/conversations/{conversation_id}
const result = await bird.amb.conversations.get(
  "acv_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(result);
Response200
{
  "inbox_status": "open",
  "routing": {
    "entry_point": "support",
    "queue": "support"
  },
  "routing_change": {
    "entry_point": "billing",
    "queue": "billing",
    "message_id": "amb_01krdgeqcxet5s7t44vh8rt9mg"
  },
  "last_message": {
    "id": "amb_01krdgeqcxet5s7t44vh8rt9mg",
    "direction": "outbound"
  },
  "id": "acv_01krdgeqcxet5s7t44vh8rt9mg",
  "business_account_id": "abz_01krdgeqcxet5s7t44vh8rt9mg",
  "status": "open",
  "origin": "entry_point",
  "device_capabilities": [
    "QUICK",
    "LIST",
    "TIME"
  ],
  "supported_content_kinds": [
    "text"
  ],
  "locale": "en-US",
  "assigned_to": "usr_01krdgeqcxet5s7t44vh8rt9mg",
  "labels": [
    "billing",
    "vip"
  ],
  "closed_reason": "user_close",
  "authentication": {
    "latest_attempt": {
      "id": "amauth_01krdgeqcxet5s7t44vh8rt9mg",
      "conversation_id": "acv_01krdgeqcxet5s7t44vh8rt9mg",
      "provider_id": "aauthp_01krdgeqcxet5s7t44vh8rt9mg",
      "message_id": "amb_01krdgeqcxet5s7t44vh8rt9mg",
      "status": "pending"
    },
    "last_verified": {
      "authentication_id": "amauth_01krdgeqcxet5s7t44vh8rt9mg",
      "provider_id": "aauthp_01krdgeqcxet5s7t44vh8rt9mg"
    }
  }
}

Returns one conversation, including closed conversations. Conversation records have no age limit.

Parameters

conversation_idstring

Conversation identifier. Starts with acv_.

Response Payload

inbox_status
string
required

Whether the conversation needs attention in the workspace inbox. Set it to resolved when the work is finished. A new inbound message reopens the same conversation. Changing inbox status preserves message history and does not change the channel's permission to send messages or mark messages read.

Possible values: open, resolved

recipient
object
required

The customer on the other side of this Apple Messages for Business conversation.

Show child attributes
routing
object
required

Routing context the conversation is filed under. Routing rules set it when the conversation opens or reopens, or when the customer writes after it was resolved. A teammate can move the queue or apply a pending routing_change.

Show child attributes
routing_change
nullable object
required

Routing from a later customer message that differs from routing, waiting for a teammate to apply or dismiss it. Null when there is none. Only recorded while the inbox status is open; resolving the conversation or moving its queue clears it.

Show child attributes
last_message
nullable object
required

Most recent message, or null when no message identity has been recorded for the conversation, for example one opened by an invitation acceptance before its first message.

Show child attributes
id
string
required

Conversation ID.

business_account_id
string
required

Business this conversation belongs to.

status
string
required

Apple's native conversation state, which determines whether replies can be sent. A customer close or an Apple 410 response closes it; a newer inbound message reopens it. This API has no native close operation. Use inbox_status to resolve workspace inbox work independently.

Possible values: open, closed

origin
string
required

How the conversation started. entry_point means the customer opened it from one of your configured Apple Messages for Business entry points. invitation means the customer accepted an invitation, which opened the conversation, or whose first message opened it when the acceptance could not (for example while the business was disconnected). This is set once when the conversation is created and never changes.

Possible values: entry_point, invitation

device_capabilities
array of string
required

The device capability tokens recorded for this conversation. When an inbound message creates, reopens, or updates an open conversation, a non-empty list replaces the previous tokens. Empty lists and delayed messages that leave the conversation closed preserve the previous tokens. An empty stored list means the device's capabilities are unknown. Implemented message types may still be sent, but device rendering support has not been confirmed. Authentication requires an explicitly advertised AUTH2 capability.

supported_content_kinds
array of string
required

Implemented baseline types plus interactive types confirmed by device_capabilities. An empty capability list yields text, attachments and rich links; it does not establish support for other types. Unadvertised quick replies, list pickers, time pickers and forms are refused when capabilities are known. Custom apps and opaque interactive references are not included because their device support cannot be inferred from these tokens. Unsupported roadmap types cannot be sent.

locale
string
required

The customer's locale recorded for this conversation. Messages without a locale and delayed messages that leave the conversation closed preserve the previous value. Empty when no locale is known. Preserved in Apple's locale format, for example en_US@rg=nlzzzz.

unread_count
integer
required

Number of inbound messages the workspace has not acknowledged. Shared across the workspace. Pass read with a date-time to acknowledge received inbound messages through that timestamp. Sending a reply does not change this count.

assigned_to
nullable string
required

The user this conversation is assigned to, or null when unassigned. Assignment is not rechecked against workspace membership on read, so it can still name a user whose access was removed.

labels
array of string
required

Workspace labels on this conversation. Labels do not change read state or inbox status.

closed_at
nullable string
required

When the native Apple conversation was closed. Null while its native status is open; independent of inbox status.

closed_reason
nullable string
required

Why the native Apple conversation was closed. Null while its native status is open; independent of inbox status.

Possible values: user_close, gone

created_at
string
required

When this conversation was created.

updated_at
string
required

When this conversation last changed.

authentication
object

Latest authentication request and the last verified identity. Included when you read one conversation, not in list results.

Show child attributes
authentication.latest_attempt
object

A single attempt to verify the identity associated with an Apple Messages for Business conversation.

Show child attributes
authentication.latest_attempt.id
string
required
authentication.latest_attempt.conversation_id
string
required
authentication.latest_attempt.provider_id
string
required
authentication.latest_attempt.provider_revision
integer
required

Provider revision used by this attempt.

authentication.latest_attempt.message_id
nullable string
required

Authentication message reference, or null before acceptance.

authentication.latest_attempt.status
string
required

Progress of an authentication request. Every value except pending and processing is terminal.

  • pending: the sign-in message was accepted and the customer has not finished.
  • processing: the authorization code is being exchanged or Bird is waiting for confirmation from the originating Messages device.
  • succeeded: the identity was validated and the originating Messages device confirmed sign-in.
  • failed: delivery, identity verification or device confirmation failed, or the provider callback was replayed.
  • cancelled: the customer or the provider declined authorization.
  • expired: the request passed its ten-minute lifetime.
  • superseded: a newer request, or a change to the conversation, business or provider, replaced the request.

Possible values: pending, processing, succeeded, failed, cancelled, expired, superseded

authentication.latest_attempt.created_at
string
required

When the attempt was created.

authentication.latest_attempt.expires_at
string
required

When this attempt expires.

authentication.latest_attempt.completed_at
string

When the attempt reached a terminal outcome.

authentication.latest_attempt.failure_code
string

Why the request did not succeed. Contains no provider response or credentials.

  • authentication_expired: ten minutes passed. Request a new sign-in.
  • new_authentication: a newer request replaced this one.
  • conversation_closed and conversation_changed: the conversation closed or reopened. Wait for the customer to write again.
  • configuration_changed: the provider settings changed or the business was disconnected.
  • user_cancelled, apple_authentication_cancel: the customer declined.
  • provider_rejected, token_exchange_failed, identity_verification_failed: the provider response could not be accepted. Check the provider settings, then request a new sign-in.
  • processing_interrupted: the exchange or device confirmation did not finish within one minute. Ask the customer to sign in again and return to Messages.
  • apple_authentication_failure: the Messages device reported a failed sign-in. Request a new sign-in.
  • authentication_replayed: the provider callback was used more than once. Request a new sign-in.
  • message_submission_failed, message_failed: the sign-in message could not be sent.

Other values are message delivery reasons passed through unchanged.

authentication.latest_attempt.identity
object

Validated identity claims. Verification does not create a persistent login session or grant access to customer systems.

Show child attributes
authentication.latest_attempt.identity.issuer
string
required

Issuer that verified the identity.

authentication.latest_attempt.identity.subject
string
required

Provider-issued user identifier. Not necessarily your CRM customer ID.

authentication.latest_attempt.identity.name
string

Name supplied by the provider when name collection is enabled.

authentication.latest_attempt.identity.email
string

Email supplied by the provider when email collection is enabled.

authentication.latest_attempt.identity.email_verified
boolean

Whether the provider verified this email address.

authentication.latest_attempt.identity.authenticated_at
string

When the provider says the user authenticated. May precede this verification.

authentication.latest_attempt.identity.verified_at
string
required

When Bird completed identity validation and confirmed the originating Messages conversation.

authentication.last_verified
object

Most recent successful identity verification for this conversation.

Show child attributes

Continue with the documentation, guides and examples for this topic.