Messaging · iMessage

List iMessage sandbox contacts

Returns iMessage sandbox contacts.

GEThttps://api.pozy.ai/v1/imessage/sandbox/contacts
listImessageSandboxContacts

Guide: iMessage

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Authentication

Example

curl -X GET "https://api.pozy.ai/v1/imessage/sandbox/contacts" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • sandboxobject
    • accountIdstring
    • handlestring
    • contactLimitinteger
  • contactsarray of object
    8 child fields
    • idstring
    • handlestring
    • statusstring

      One of pending, active.

    • joinTextstring
    • joinLinkstring
    • activatedAtstring (date-time)

      Can be null.

    • lastInboundAtstring (date-time)

      Can be null.

    • createdAtstring (date-time)
200 response
{
  "sandbox": {
    "accountId": "696e0b682d0a31188e7a2ba9",
    "handle": "acme",
    "contactLimit": 1
  },
  "contacts": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "handle": "acme",
      "status": "pending",
      "joinText": "Hello from Pozy",
      "joinLink": "string",
      "activatedAt": "2026-10-02T09:00:00.000Z",
      "lastInboundAt": "2026-10-02T09:00:00.000Z",
      "createdAt": "2026-10-02T09:00:00.000Z"
    }
  ]
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in iMessage