Create CRM list attribute

POST
/crm/lists/{list}/attributes

Authorization

headerAuthorizationBearer <Relevate API key>

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

Path Parameters

list*string

Request Body

application/json
  1. body
currency_code?string|null
expression?string|null
key*string
multiple?boolean
name*string
Lengthlength <= 200
options?array<string>
Itemsitems <= 100
required?boolean
target_object_id?string|null
type*string
Value in"text""number""currency""phone""rating""location""multi_select""status""relationship""formula""boolean""date""timestamp""select""record""user"

Response Body

Success

application/json
  1. response
api_version*string
data*
Example Request
curl -X POST 'https://api.relevate.app/crm/lists/string/attributes' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "string",
  "name": "string",
  "type": "text"
}'
Example Response
{
  "api_version": "string",
  "data": {
    "created_at": "2019-08-24T14:15:22Z",
    "currency_code": "string",
    "expression": "string",
    "id": "string",
    "is_system": true,
    "key": "string",
    "list_id": "string",
    "multiple": true,
    "name": "string",
    "object_id": "string",
    "options": [
      "string"
    ],
    "organization_id": "string",
    "required": true,
    "target_object_id": "string",
    "type": "text",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}