Beta — endpoints, schemas, limits and examples may change before general availability.
Hellomateo API Documentation
Contacts

Upsert Contact Identity

POST
/v1/contacts/{id}/identities

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

channel_type*"email" | "facebook" | "instagram" | "postal" | "sms" | "whatsapp"
Value in"email" | "facebook" | "instagram" | "postal" | "sms" | "whatsapp"
type*string
Length1 <= length
value*string
Length1 <= length
scope_type?|null
scope_id?|null

Response Body

application/json

curl -X POST "https://api.getmateo.com/v1/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/identities" \  -H "Content-Type: application/json" \  -d '{    "channel_type": "email",    "type": "string",    "value": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organisation_id": "9ec26450-a51e-40b1-a49f-e04045480fd5",  "contact_id": "f245e2a3-e141-4d41-912c-b1c1f5bd5598",  "channel_type": "email",  "type": "string",  "value": "string",  "scope_type": "string",  "scope_id": "string",  "health": "healthy",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}