Skip to main content
POST
/
attributes
Create attribute
curl --request POST \
  --url https://api.heyy.io/api/v2.0/attributes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "externalId": "<string>",
  "isVisibleQuickEdit": true,
  "isVisibleContactsTable": true,
  "isVisibleContactCreate": true
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "externalId": "<string>",
    "isVisibleQuickEdit": true,
    "isVisibleContactsTable": true,
    "isVisibleContactCreate": true,
    "description": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
externalId
string
required
description
string | null
isVisibleQuickEdit
boolean
isVisibleContactsTable
boolean
isVisibleContactCreate
boolean

Response

200 - application/json
data
object
required