Create a CRM list

Workspace-scoped CRM operation. Reads require crm:read; writes require crm:write. The parent CRM object must be enabled.

POST
/crm/lists

Workspace-scoped CRM operation. Reads require crm:read; writes require crm:write. The parent CRM object must be enabled.

Authorization

headerAuthorizationBearer <Relevate API key>

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

Request Body

application/json
  1. body
description?string
Lengthlength <= 2000
Default""
name*string
Length1 <= length <= 200
object_id*string

Object ID or slug, such as people.

Response Body

Created

application/json
  1. response
api_version*string
attributes?array<>
data*
Example Request
curl -X POST 'https://api.relevate.app/crm/lists' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "object_id": "string"
}'
Example Response
{
  "api_version": "string",
  "attributes": [
    {
      "currency_code": "string",
      "expression": "string",
      "id": "string",
      "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",
    "description": "string",
    "id": "string",
    "name": "string",
    "object_id": "string",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}