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
{
"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
| Status | Code | Cause |
|---|---|---|
400 | bad_request | With a personal access token, no x-mapier-project header |
401 | invalid_credentials | No key, or one that is unknown, revoked or expired |
403 | forbidden | A personal access token not made for this environment, or whose owner's role no longer allows this |
403 | insufficient_scope | The key does not carry the messages:read scope |
404 | not_found | A person this key cannot see, or none |
409 | project_archived | The project is archived |
422 | validation_failed | An x-mapier-version the API does not support |
429 | rate_limited | Over this route's budget; the Retry-After header says how long to wait |
500 | internal_error | Mapier failed on its side; give requestId to support |
503 | service_busy | Mapier is busy and did nothing; wait details.retryAfter seconds and call again |
503 | upstream_unavailable | Mapier could not answer right now; retry with backoff |