Zernio
Zernio
API Reference

Custom Fields

List custom field definitionsGETCreate custom fieldPOSTSet custom field valuePUTUpdate custom fieldPATCHDelete custom fieldDELETEClear custom field valueDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Custom Fields

Update custom field

Update a custom field definition. The field type cannot be changed after creation.


PATCH
/v1/custom-fields/{fieldId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

fieldId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "success": true,  "field": {    "id": "string",    "name": "string",    "slug": "string",    "type": "string",    "options": [      "string"    ]  }}
Was this page helpful?

Set custom field value

Set or overwrite a custom field value on a contact. The value type must match the field definition.

Delete custom field

Delete a custom field definition and remove its values from all contacts.

name?string
options?array<string>