myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

List custom fields

GET

/api/v1/ext/custom-fields

A workspace's custom field definitions, in display order.

Auth: Bearer access_token
Scope: contacts.read

A definition is the key under which a value sits in a contact's custom_fields ({ "lead_source": "Referral" }), its label, its type and, for select / multi_select, the allowed options. Typed definitions are enforced when a contact is created or updated: a value that is not a valid number, date (YYYY-MM-DD), URL, email, phone or option is refused there. options is null for every type but select and multi_select.

Parameters

NameInTypeRequiredDescription
workspace_id
query
number
yes
The workspace.

Responses

StatusWhen
200
OK
400
No workspace_id
401
Missing or invalid token
403
Missing scope
404
Workspace does not exist or is not owned by the installer (same response for both)
Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/custom-fields" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": [
    {
      "id": 41,
      "workspace_id": 7,
      "field_key": "lead_source",
      "field_label": "Lead Source",
      "field_type": "select",
      "options": [
        "Web",
        "Referral",
        "Event"
      ],
      "is_required": false,
      "sort_order": 1,
      "created_at": "2026-11-04T02:20:00.000Z",
      "updated_at": "2026-11-04T02:20:00.000Z"
    },
    {
      "id": 42,
      "workspace_id": 7,
      "field_key": "deal_size",
      "field_label": "Deal Size",
      "field_type": "number",
      "options": null,
      "is_required": false,
      "sort_order": 2,
      "created_at": "2026-11-04T02:21:00.000Z",
      "updated_at": "2026-11-04T02:21:00.000Z"
    }
  ]
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters

The workspace.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/custom-fields
Previous

« Delete tag

Next

Create custom field »