cURL
curl --request POST \ --url https://api.unifygtm.com/data/v1/objects/{object_name}/records \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "attributes": {} } '
{ "status": "success", "data": { "object": "<string>", "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "attributes": {} } }
Attribute values for the record. Each key is the API name of the attribute and each value is the corresponding attribute value for the record.
Response for a successful create operation.
success
Show child attributes