Contact
Merge Contacts
Send Message
Send Broadcast
Channel
Contact List
Contact Note
Marketing Subscription
Custom Field
Contact Custom Field
Deal Custom Field
Appointment Custom Field
Marketing Channel
Contact Details
Deal Details
Appointment Details
Conversation
Storage
Recipient
Message Action
Event
Conversation Tag
Format
Generate Content
Provider
Provider Template Approval
Campaign
Contact
Merge Contacts
Merge two contacts into a new one
curl --request POST \
--url https://integration.getmateo.com/api/v1/contact/merge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"a": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"b": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "random uuid",
"created_at": "now()",
"updated_at": "now()",
"organisation_id": "random uuid",
"full_name": "<string>",
"fts": "<string>",
"is_blocked": false,
"external_id": "<string>",
"birthday": "2023-12-25",
"salutation": "<string>",
"email": "<string>",
"sms": "<string>",
"whatsapp": "<string>",
"instagram": "<string>",
"facebook": "<string>",
"display_name": "<string>",
"google_business_messaging": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"zipcode": "<string>",
"country": "DEUTSCHLAND",
"postal": "<string>",
"number_of_marketing_opt_in_requests": 123,
"latest_marketing_opt_in_request_sent_at": "<string>",
"campaign_messages_this_month": 123,
"whatsapp_marketing_opt_in": false,
"sms_marketing_opt_in": false,
"email_marketing_opt_in": false,
"facebook_marketing_opt_in": false,
"instagram_marketing_opt_in": false,
"google_business_messaging_marketing_opt_in": false,
"postal_marketing_opt_in": false,
"whatsapp_transactional_opt_in": "legitimate_interest",
"sms_transactional_opt_in": "legitimate_interest",
"email_transactional_opt_in": "legitimate_interest",
"facebook_transactional_opt_in": "legitimate_interest",
"instagram_transactional_opt_in": "legitimate_interest",
"google_business_messaging_transactional_opt_in": "legitimate_interest",
"postal_transactional_opt_in": "legitimate_interest"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Response
200 - application/json
Contact merged successfully
The response is of type object
.
curl --request POST \
--url https://integration.getmateo.com/api/v1/contact/merge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"a": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"b": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "random uuid",
"created_at": "now()",
"updated_at": "now()",
"organisation_id": "random uuid",
"full_name": "<string>",
"fts": "<string>",
"is_blocked": false,
"external_id": "<string>",
"birthday": "2023-12-25",
"salutation": "<string>",
"email": "<string>",
"sms": "<string>",
"whatsapp": "<string>",
"instagram": "<string>",
"facebook": "<string>",
"display_name": "<string>",
"google_business_messaging": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"city": "<string>",
"zipcode": "<string>",
"country": "DEUTSCHLAND",
"postal": "<string>",
"number_of_marketing_opt_in_requests": 123,
"latest_marketing_opt_in_request_sent_at": "<string>",
"campaign_messages_this_month": 123,
"whatsapp_marketing_opt_in": false,
"sms_marketing_opt_in": false,
"email_marketing_opt_in": false,
"facebook_marketing_opt_in": false,
"instagram_marketing_opt_in": false,
"google_business_messaging_marketing_opt_in": false,
"postal_marketing_opt_in": false,
"whatsapp_transactional_opt_in": "legitimate_interest",
"sms_transactional_opt_in": "legitimate_interest",
"email_transactional_opt_in": "legitimate_interest",
"facebook_transactional_opt_in": "legitimate_interest",
"instagram_transactional_opt_in": "legitimate_interest",
"google_business_messaging_transactional_opt_in": "legitimate_interest",
"postal_transactional_opt_in": "legitimate_interest"
}