Create CRM object

POST
/crm/objects

Authorization

headerAuthorizationBearer <Relevate API key>

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

Request Body

application/json
  1. body
icon?string
Lengthlength <= 100
name*string
Lengthlength <= 200
slug*string
Match^[a-z][a-z0-9_-]{0,63}$

Response Body

Success

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/crm/objects' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "slug": "string"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "created_at": "2019-08-24T14:15:22Z",
    "enabled": true,
    "icon": "string",
    "id": "string",
    "is_system": true,
    "name": "string",
    "organization_id": "string",
    "slug": "string",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}