Get CRM object

Get an object definition, including disabled objects

GET
/crm/objects/{object}

Get an object definition, including disabled objects

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Path Parameters

object*string

Object ID or slug

Response Body

Object and attributes

application/json
  1. response
api_version?string
attributes?array<>
data?
Example Request
curl -X GET 'https://api.relevate.app/crm/objects/string'
Example Response
{
  "api_version": "string",
  "attributes": [
    {
      "currency_code": "string",
      "expression": "string",
      "id": "string",
      "is_system": true,
      "key": "string",
      "multiple": true,
      "name": "string",
      "options": [
        "string"
      ],
      "read_only": true,
      "required": true,
      "target_object_id": "string",
      "type": "string"
    }
  ],
  "data": {
    "created_at": "2019-08-24T14:15:22Z",
    "enabled": true,
    "icon": "string",
    "id": "string",
    "is_system": true,
    "name": "string",
    "slug": "string",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}