Skip to content

Bulk Create Customizations

POST
View MD

Create multiple customizations in one API call. This endpoint accepts NDJSON, where each line is one customization object.

Each line in the request body must be a valid JSON object. Up to 5000 pin scopes can be sent in a single request.

ParameterTypeRequiredDescription
TRACKER_IDstringYour unique tracker identifier.
ParameterTypeDefaultDescription
conflict_strategystringraiseConflict handling mode: raise, ignore, or override.
HeaderValueDescription
Content-Typeapplication/x-ndjsonRequired.
DateHTTP dateRequired for HMAC.
AuthorizationApiAuth {TRACKER_ID}:{SIGNATURE}Required for HMAC.

The request body uses NDJSON. Each line must be a valid customization object.

  1. Build the HMAC string from the method, content type, date, and base resource path.
  2. Exclude query parameters from the signed path.
  3. Send the NDJSON body together with Date, Content-Type, and Authorization.

Returns 200 OK on success with an empty JSON object.

HTTP StatusDescription
200 OKSuccess.
401 UnauthorizedMissing or invalid authentication.
404 Not FoundTracker not found.
409 ConflictConflict detected when conflict_strategy=raise.
413 Content Too LargeToo many customizations in one request.
422 Unprocessable EntityInvalid pin definition provided.