GET
/
destinations
/
{destination_id}
/
objects
/
{object_full_name}
curl --request GET \
  --url https://app.getcensus.com/api/v1/destinations/{destination_id}/objects/{object_full_name} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "label": "User",
    "full_name": "user",
    "supported_operations": [
      "insert",
      "update",
      "upsert"
    ],
    "allow_custom_fields": true,
    "allow_case_sensitive_fields": true,
    "supports_field_ordering": false,
    "can_be_sync_destination": true,
    "fields": [
      {
        "label": "External User ID",
        "full_name": "external_id",
        "createable": true,
        "updateable": true,
        "operations": [
          "overwrite"
        ],
        "array": true,
        "preserve_values_supported": true,
        "required_for_mapping": true,
        "can_be_upsert_key": true,
        "can_be_update_key": true,
        "can_be_insert_key": true,
        "can_be_reference_key": true,
        "lookup_object": "company",
        "type": "string"
      }
    ]
  }
}

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 that owns the object

object_full_name
string
required

full_name of the destination object

Response

200 - application/json
Successfully retrieved the destination object
status
enum<string>

Outcome of the operation.

Available options:
success,
updated,
created,
not_found,
error
Example:

"success"

data
object