People
Read a person's email contact details
Use Test Request to send this request with your API key.
GET /api/v2/persons/contact
Returns emails for a person. Email resolution normally completes in
1-2 minutes. When it is still in flight, the response carries
tryLater: true; retry no more often than every 15 seconds.
Required scope: person:read
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
personId | string | Yes | Vieu person id (PERS-<uuid>). |
Responses
200
The person's contact details.
{
"type": "object",
"description": "Resolved email contact details for a person. Contact data is often resolved\nasynchronously; when a resolution is in flight, `tryLater` is `true`\nand the caller should retry shortly for the enriched values.\n",
"required": [
"personId",
"emails",
"tryLater"
],
"properties": {
"personId": {
"type": "string"
},
"emails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"source": {
"type": "string",
"description": "Data provider that supplied the address."
},
"variant": {
"type": "string",
"enum": [
"work",
"personal"
]
},
"isActive": {
"type": "boolean"
},
"matchesContextDomain": {
"type": "boolean",
"description": "True when the address is on a domain belonging to the person's company."
}
}
}
},
"tryLater": {
"type": "boolean",
"description": "True when contact resolution is in flight; retry shortly."
}
},
"example": {
"personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
"emails": [
{
"email": "jane.doe@acme.com",
"variant": "work",
"isActive": true,
"matchesContextDomain": true
}
],
"tryLater": false
}
}
400
The request is malformed or failed validation.
{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}
401
Missing or invalid API key.
{
"type": "object",
"description": "Returned on 401 responses. `reason` is a stable machine-readable code\nthat clients can branch on without parsing `message`.\n",
"required": [
"message",
"reason"
],
"properties": {
"message": {
"type": "string",
"example": "Invalid Auth Token Provided"
},
"reason": {
"type": "string",
"description": "- `TOKEN_MISSING`: no `x-api-key` header on the request.\n- `TOKEN_EXPIRED`: the key was found but has expired or been revoked (also used when the key is unknown).\n- `ACCESS_DENIED`: the token is present but not accepted for the resource.\n- `AUTH_INVALID`: generic auth failure, usually an internal error resolving the key.\n",
"enum": [
"TOKEN_MISSING",
"TOKEN_EXPIRED",
"ACCESS_DENIED",
"AUTH_INVALID"
],
"example": "TOKEN_EXPIRED"
}
}
}
403
API key lacks the scope required to call this endpoint.
{
"type": "object",
"description": "Returned on 403 responses. The key was valid but does not have the\nscope required by the endpoint.\n",
"required": [
"code",
"message",
"reason"
],
"properties": {
"code": {
"type": "string",
"enum": [
"ERR_FORBIDDEN"
]
},
"message": {
"type": "string",
"example": "Insufficient permissions for this operation"
},
"reason": {
"type": "string",
"description": "- `SCOPE_INSUFFICIENT`: the authenticated key's scopes do not include the one required by this endpoint.\n- `FORBIDDEN`: generic 403 (rarely used on v2 routes; reserved for non-scope access checks).\n",
"enum": [
"SCOPE_INSUFFICIENT",
"FORBIDDEN"
],
"example": "SCOPE_INSUFFICIENT"
}
}
}
429
API key rate limit exceeded.
{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}
500
Unexpected server error.
{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}