Skip to content

List Specializations

Retrieve the list of specialization categories enabled for an organization. Use this to determine valid values for the specialization field when creating a case.

Endpoint

GET /apis/v4/organisation/{organisation_id}/config/dynamic-form

Path Parameters

Parameter Type Required Description
organisation_id integer Yes The unique identifier of the organization

Query Parameters

Parameter Type Required Description
size integer No Number of records to return

Request

curl --location '{base_url}/apis/v4/organisation/638/config/dynamic-form?size=100' \
  --header 'Authorization: Bearer JWT_TOKEN' \
  --header 'Accept: application/json, text/plain, */*'

Response

Success Response

Code: 200 OK

{
  "code": 2000,
  "data": [
    {
      "category": "MSK"
    },
    {
      "category": "CHIROPRACTOR"
    }
  ],
  "message": "Success"
}

Response Fields

Field Type Description
data array List of dynamic form config objects
category string Specialization category name; use this value in the specialization field of Add Case

Notes

  • Only specializations returned by this endpoint are valid for the organization.
  • Pass the category string directly as the specialization value when creating a case.