RelayAPI

Merge another contact into this one

POST
/v1/contacts/{id}/merge
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_*)

In: header

Path Parameters

id*string

Contact ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

merge_contact_id*string

ID of the contact to merge into this one (will be deleted)

Response Body

application/json

application/json

curl -X POST "https://api.relayapi.dev/v1/contacts/string/merge" \  -H "Content-Type: application/json" \  -d '{    "merge_contact_id": "string"  }'
{
  "channels_moved": 0,
  "fields_moved": 0,
  "recipients_updated": 0,
  "conversations_updated": 0
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}

Found something wrong? Help us improve this page.

Submit an Issue
Requires a GitHub account.View repo