Use this endpoint to retrieve all custom fields defined for your business, grouped by their field type. Each field object includes essential metadata such as ID, display_name, and type.This endpoint is typically used to:
Render dynamic forms based on the fields your business has configured.
Discover available field IDs before setting or updating contact values.
Map field types to the correct input format in your integration.
💡Use this list to retrieve a field's id before calling endpoints that require field_id (for example: setting or updating a custom field value on a contact).
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.mottasl.ai/v1/customfield/group' \
--header'Authorization: Bearer <token>'