General

Get custom fields with current mappings

Changed on

Get all custom fields available on the specified integration. *This includes the mapping to the corresponding integration field if applicable

get/integrations/{integration_id}/custom-fields

Request

Path parameters

integration_idstring required

GET /integrations/:integration_id/custom-fields Parameter

Query parameters

cursorstring

An optional cursor string used for pagination. This can be retrieved from the next property of the previous page response.

page_sizeinteger

The number of results to return per page. Maximum is 250.

Response

GET /integrations/:integration_id/custom-fields Positive response

status'success' required

Example response

{
  "data": {
    "results": [
      {
        "id": "D9CoSqqun6ix7uKEwb2kHBU1",
        "key": "unified_tax_id",
        "integration_field": {
          "id": "FFpTK47GhXnU6QAopPq2bdos",
          "key": "tax_id",
          "type": "DEFAULT",
          "label": "The employee's tax ID"
        },
        "model": "hris_employees",
        "label": null,
        "description": null
      }
    ],
    "next_cursor": null,
    "next": null
  }
}

Changes