Skip to main content

Create a record

POST 

/customers/:customer_id/objects/:object_id/records

Create a record under a customer.

Field values go in data, keyed by the fields[].key values from GET /v1/objects/{object_id}. They are validated against the object's schema: a missing required field, or a select value outside the list, is a 400 naming the field — with the per-field detail under error.details.errors — rather than a record with bad data in it.

Creating a record writes a journey event on the customer and fires the Studio customer record changed trigger.

Request

Responses

Record created.

Response Headers
    X-Request-Id

    Correlation id for this request. Quote it when reporting a problem.