Get a person

The person behind one or more contacts, with each address and whether each line can write to them now

GET/v1/people/{personId}

The person behind one or more contacts — the same human on two channels, say — with each address and, for each of your active lines on its channel, whether that line can write to them now and why not. A phone number or an email links contacts to one person automatically; any other link is made in the console.

Example request

curl https://api.mapier.ai/v1/people/0192a7c0-1111-7222-8333-444455556666 \
  -H "Authorization: Bearer $MAPIER_API_KEY" \
  -H "x-mapier-version: 2026-12-01"

Response

200 OK
{
  "id": "0192a7c0-1111-7222-8333-444455556666",
  "displayName": "Ada",
  "optedOut": false,
  "optedOutAt": null,
  "contacts": [
    {
      "id": "0192a7c0-2222-7333-8444-555566667777",
      "channel": "imessage",
      "address": "+14155550100",
      "addressKind": "e164",
      "reachability": [
        {
          "lineId": "0192a7b0-3e4f-7051-8c6d-7e8f9a0b1c2d",
          "canSend": {
            "freeform": true,
            "template": null
          },
          "reasons": []
        }
      ]
    }
  ]
}

Each reachability entry is the short form of GET /v1/reachability for one line: canSend and the reasons that stand, each with its docUrl. A person since merged into another answers as that one, with the id you asked for in mergedFrom.

Errors

StatusCodeCause
400bad_requestWith a personal access token, no x-mapier-project header
401invalid_credentialsNo key, or one that is unknown, revoked or expired
403forbiddenA personal access token not made for this environment, or whose owner's role no longer allows this
403insufficient_scopeThe key does not carry the messages:read scope
404not_foundA person this key cannot see, or none
409project_archivedThe project is archived
422validation_failedAn x-mapier-version the API does not support
429rate_limitedOver this route's budget; the Retry-After header says how long to wait
500internal_errorMapier failed on its side; give requestId to support
503service_busyMapier is busy and did nothing; wait details.retryAfter seconds and call again
503upstream_unavailableMapier could not answer right now; retry with backoff

Guide