POST
/
objects
/
{object_name}
/
records
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": {}
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

object_name
string
required

Body

application/json
attributes
object
required

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

Response for a successful create operation.

status
enum<string>
required
Available options:
success
data
object
required