POST
/
destinations
/
{destination_id}
/
object_creation_requests
curl --request POST \
  --url https://app.getcensus.com/api/v1/destinations/{destination_id}/object_creation_requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "object_type": "<string>",
  "object_attributes": {},
  "fields": [
    {}
  ]
}'
{
  "status": "created",
  "url": "https://api.getcensus.com/destinations/12/object-creation-requests/1647978948"
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

destination_id
integer
required

ID of the destination

Body

application/json

Response

201
application/json
Object creation request was successfully enqueued.

The response is of type object.