Skip to content
Docs

Contact custom field definitions (text, number, date, boolean, select). Slugs are unique per workspace.

Base URLhttps://api.socialit.com/v1AuthenticationErrorsRate limits5 endpointsMCP toolset custom_fields

List custom fields

GET/custom-fields

Access: readZernio: GET /v1/custom-fields

Try it with MCPAsk your agent to call list-custom-fields (toolset custom_fields)Set up MCP

Query parameters

pageintegerdefault: 1

Page number

≥ 1

limitintegerdefault: 20

Items per page (max 100)

1–100

sortstring

created_atnameslug

orderstring

ascdesc

matchstring

Combine filters with AND (default) or OR

allor

profile_idstring
typestring

Returns object

objectstringrequired

list

dataarray of objectrequired
Show 9 item attributes
objectstring

custom_field

idstring
profile_idstring | null
namestring
slugstring
typestring

textnumberdatebooleanselect

optionsarray of string
created_atstring (date-time) | null
updated_atstring (date-time) | null
pageintegerrequired
limitintegerrequired
totalinteger | null
has_morebooleanrequired
next_page_urlstring | null
previous_page_urlstring | null

Responses

  • 200OK
  • 4XXErrors: invalid request, auth, permission, not found, conflict, plan or rate limit
  • 5XXErrors: server or upstream network error
GET/custom-fields
curl "https://api.socialit.com/v1/custom-fields" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
Response · 200
{
  "object": "list",
  "data": [
    {
      "object": "custom_field",
      "id": "string",
      "profile_id": "string",
      "name": "string",
      "slug": "string",
      "type": "text",
      "options": [
        "string"
      ],
      "created_at": "2026-10-13T09:00:00.000Z",
      "updated_at": "2026-10-13T09:00:00.000Z"
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "has_more": true,
  "next_page_url": "https://example.com",
  "previous_page_url": "https://example.com"
}

Create a custom field

POST/custom-fields

slug defaults to the name in snake_case; 409 slug_taken when used. options are required for select.

Access: writeIdempotency-KeyZernio: POST /v1/custom-fields

Try it with MCPAsk your agent to call create-custom-field (toolset custom_fields)Set up MCP

Headers

Idempotency-Keystring

Unique key (for example a UUID) that makes retries safe: a repeated request with the same key and body returns the first response (Idempotent-Replayed: true) for 24 hours.

≤ 255 characters

Body object

profile_idstring
namestringrequired

1–120 characters

slugstring

1–120 characters

typestringrequired

textnumberdatebooleanselect

optionsarray of string

≤ 200 items

Returns object

objectstring

custom_field

idstring
profile_idstring | null
namestring
slugstring
typestring

textnumberdatebooleanselect

optionsarray of string
created_atstring (date-time) | null
updated_atstring (date-time) | null

Responses

  • 201Created
  • 4XXErrors: invalid request, auth, permission, not found, conflict, plan or rate limit
  • 5XXErrors: server or upstream network error
POST/custom-fields
curl -X POST "https://api.socialit.com/v1/custom-fields" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "profile_id": "string",
    "name": "string",
    "slug": "string",
    "type": "text",
    "options": [
      "string"
    ]
  }'
Response · 201
{
  "object": "custom_field",
  "id": "string",
  "profile_id": "string",
  "name": "string",
  "slug": "string",
  "type": "text",
  "options": [
    "string"
  ],
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}

Get a custom field

GET/custom-fields/{id}

Access: read

Try it with MCPAsk your agent to call get-custom-field (toolset custom_fields)Set up MCP

Path parameters

idstringrequired

customField id (cf_…)

1–80 characters

Returns object

objectstring

custom_field

idstring
profile_idstring | null
namestring
slugstring
typestring

textnumberdatebooleanselect

optionsarray of string
created_atstring (date-time) | null
updated_atstring (date-time) | null

Responses

  • 200OK
  • 4XXErrors: invalid request, auth, permission, not found, conflict, plan or rate limit
  • 5XXErrors: server or upstream network error
GET/custom-fields/{id}
curl "https://api.socialit.com/v1/custom-fields/cf_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
Response · 200
{
  "object": "custom_field",
  "id": "string",
  "profile_id": "string",
  "name": "string",
  "slug": "string",
  "type": "text",
  "options": [
    "string"
  ],
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}

Update a custom field

PATCH/custom-fields/{id}

Name and options only (type and slug are immutable).

Access: writeZernio: PATCH /v1/custom-fields/{fieldId}

Try it with MCPAsk your agent to call update-custom-field (toolset custom_fields)Set up MCP

Path parameters

idstringrequired

customField id (cf_…)

1–80 characters

Body object

namestring

1–120 characters

optionsarray of string

≤ 200 items

Returns object

objectstring

custom_field

idstring
profile_idstring | null
namestring
slugstring
typestring

textnumberdatebooleanselect

optionsarray of string
created_atstring (date-time) | null
updated_atstring (date-time) | null

Responses

  • 200OK
  • 4XXErrors: invalid request, auth, permission, not found, conflict, plan or rate limit
  • 5XXErrors: server or upstream network error
PATCH/custom-fields/{id}
curl -X PATCH "https://api.socialit.com/v1/custom-fields/cf_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "options": [
      "string"
    ]
  }'
Response · 200
{
  "object": "custom_field",
  "id": "string",
  "profile_id": "string",
  "name": "string",
  "slug": "string",
  "type": "text",
  "options": [
    "string"
  ],
  "created_at": "2026-10-13T09:00:00.000Z",
  "updated_at": "2026-10-13T09:00:00.000Z"
}

Delete a custom field

DELETE/custom-fields/{id}

Deletes the definition and every stored value.

Access: writeZernio: DELETE /v1/custom-fields/{fieldId}

Try it with MCPAsk your agent to call delete-custom-field (toolset custom_fields)Set up MCP

Path parameters

idstringrequired

customField id (cf_…)

1–80 characters

Returns object

objectstringrequired

custom_field

idstringrequired
deletedbooleanrequired

Responses

  • 200OK
  • 4XXErrors: invalid request, auth, permission, not found, conflict, plan or rate limit
  • 5XXErrors: server or upstream network error
DELETE/custom-fields/{id}
curl -X DELETE "https://api.socialit.com/v1/custom-fields/cf_2Jx0Fq5Pz8vYkB3mN6rT1wQ9sLd" \
  -H "Authorization: Bearer $SOCIALIT_API_KEY"
Response · 200
{
  "object": "custom_field",
  "id": "string",
  "deleted": true
}