GET /user/services/{service_id}/customfields

Retrieve custom fields for a specific service.

Request

  • Base URL
    https://developers.whmcs.com/api/v2
  • Auth
    none declared

Path parameters

service_idinteger required
Example:789

Service ID

Query parameters

pageinteger
Example:1

Page number

page_sizeinteger
Example:10

Number of items per page. The maximum allowed value is 500. The default value is 50.

Response

A list of all custom fields of a specific service.

Example response

{
  "data": [
    {
      "id": 456,
      "custom_field": {
        "id": 123,
        "name": "Shared web hosting",
        "type": "text",
        "options": [
          "DL123456789"
        ]
      },
      "service": {
        "id": 123
      },
      "value": "DL123456789"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.