Retrieve custom fields for organization

Retrieves custom field values for a specific organization structure (team). This endpoint returns all custom fields configured for organization structures, including their current values, inheritance status, and any pending change requests. Custom fields can be inherited from parent teams in the organizational hierarchy, and the response indicates whether each value is inherited or set directly on the specified team. If the user has permission to view data change requests, pending changes will also be included in the response. **Token scopes**: `organizations:read`

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

team_idstringRequiredformat: "uuid"

Public ID (UUID) of the HRIS team/organization structure

Query parameters

limitintegerOptional<=100Defaults to 20

Max items per page (default 20, max 100)

cursorstringOptional
Opaque cursor for pagination

Response

Custom field values retrieved successfully
datalist of objects
Array of custom field values for the organization structure team
has_moreboolean
Whether more pages are available
next_cursorstring or null
Opaque cursor for the next page. Null if no more pages.
total_countinteger

Total number of custom field values (across all pages)

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error