Append a single identifier to each provided preference record.
This endpoint appends identifiers on preference records and does not trigger DSR workflows.
Set returnIdentifiers to include remaining identifiers in the response.

Rate Limits

  • 100 requests per organization per minute (default).
  • This limit can be increased upon request.

Rate Limiting Headers

  • X-RateLimit-Limit: The maximum number of requests allowed in the current window.
  • X-RateLimit-Remaining: The number of requests remaining in the current window.
  • X-RateLimit-Reset: The time at which the current rate limit window resets in ISO 8601 format.
  • Retry-After: (on 429) The number of seconds to wait before making a new request.

POST

/v1/preferences/{partition}/append-identifiers

In your request headers, pass authorization: Bearer <<token>>.

If you're self-hosting Sombra, also add the request header x-sombra-authorization: Bearer <<sombraInternalKey>>. You can read more about request authorization here.

Requires scope:

Modify User Stored Preferences

authorizationstring
An API key generated from the Transcend dashboard: https://app.transcend.io/infrastructure/api-keys.
x-sombra-authorizationstring
The Sombra internal key. This header is only needed for self-hosted Sombra gateways. See https://docs.transcend.io/docs/dsr-automation/api-integration/authentication#authenticating-to-sombra
content-typestring
Specify content-type: application/json for a JSON response from the Transcend API.
partitionstring
The ID of the partition in the Preference Store .

application/json

recordsarray<object>(required)
List of append operations to perform. Max 10 records.

Request Body Examples

Append Identifiers Example:

{
  "records": [
    {
      "anchorIdentifier": {
        "name": "email",
        "value": "xyz@foo.com"
      },
      "append": {
        "name": "phone",
        "value": "+1231231234"
      },
      "timestamp": "2024-06-01T12:00:00Z"
    }
  ]
}

Append Identifier with Merging Disabled:

{
  "records": [
    {
      "anchorIdentifier": {
        "name": "email",
        "value": "xyz@foo.com"
      },
      "append": {
        "name": "phone",
        "value": "+1231231234"
      },
      "timestamp": "2024-06-01T12:00:00Z",
      "options": {
        "mergeRecordsOnConflict": false
      }
    }
  ]
}

Append Identifier with `returnIdentifiers` Enabled:

{
  "records": [
    {
      "anchorIdentifier": {
        "name": "email",
        "value": "xyz@foo.com"
      },
      "append": {
        "name": "phone",
        "value": "+1231231234"
      },
      "timestamp": "2024-06-01T12:00:00Z",
      "options": {
        "returnIdentifiers": true
      }
    }
  ]
}

Batch Append identifiers on Multiple Records:

{
  "records": [
    {
      "anchorIdentifier": {
        "name": "email",
        "value": "xyz@foo.com"
      },
      "append": {
        "name": "phone",
        "value": "+1231231234"
      },
      "timestamp": "2024-06-01T12:00:00Z",
      "options": {
        "returnIdentifiers": true
      }
    },
    {
      "anchorIdentifier": {
        "name": "email",
        "value": "abc@foo.com"
      },
      "append": {
        "name": "phone",
        "value": "+1231231235"
      },
      "timestamp": "2024-06-01T12:00:00Z",
      "options": {
        "returnIdentifiers": true
      }
    }
  ]
}

200 (OK)

application/json

The result of the append operation for each record. Each record indicates whether the append succeeded or failed, along with any relevant error messages or identifiers. Note: When the response includes failures, clients can only retry the failed items from the original request after addressing the reported errors. When the response includes errors, clients should retry the entire batch after addressing the reported errors.

Response Body

recordsarray<object>
Per-record results for each input operation. Order matches the order of the input records.
failuresarray<object>
List of failed operations within the batch. Use `index` to map back to the input record.
errorsarray<string>
Top-level errors that caused the entire batch to fail. If present, clients should retry the entire request.

Response Body Examples

Successful Append:

{
  "records": [
    {
      "success": true
    }
  ],
  "failures": [],
  "errors": []
}

Successful Append with Identifiers:

{
  "records": [
    {
      "identifiers": [
        {
          "name": "email",
          "value": "xyz123@foo.com"
        },
        {
          "name": "phone",
          "value": "+1231231234"
        }
      ],
      "success": true
    }
  ],
  "failures": [],
  "errors": []
}

Partial Success:

{
  "records": [
    {
      "success": true
    },
    {
      "success": false,
      "errorMessage": "+1231231234 is already associated to a different preference record"
    }
  ],
  "failures": [
    {
      "index": 1,
      "error": "+1231231234 is already associated to a different preference record"
    }
  ],
  "errors": []
}

400 (Bad Request)

application/json

Bad Request

Response Body

errorsarray<string>

401 (Unauthorized)

application/json

There was a problem authenticating your request. This may be an issue with the Transcend API key ("authorization" header), or the Sombra API key ("x-sombra-authorization" header used for self-hosted gateways only).

413 (Request Entity Too Large)

application/json

The request body is too large. JSON and raw bodies must be less than 50MB. URL encoded bodies must be less than 30MB.

429 (Too Many Requests)

application/json

You are sending requests too quickly and have hit our rate limit. If you hit this, you'll need to throttle your request velocity or try again later.

Response Headers

Retry-Afterinteger
X-RateLimit-Limitinteger
X-RateLimit-Remaininginteger
X-RateLimit-Resetinteger

500 (Internal Server Error)

application/json

A 5xx error means there is either an issue with your self-hosted gateway, or a Transcend server is having issues. You check our system status at status.transcend.io. Please reach out to Transcend support if you're experiencing this error.

502 (Bad Gateway)

application/json

An upstream service on Transcend's side is having issues. You check our system status at status.transcend.io. Please reach out to Transcend support if you're experiencing this error.