Retrieve a list of ATS departments
Retrieves a list of all departments in the Applicant Tracking System
Token scopes: ats: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/
Query parameters
cursor
The cursor for pagination
limit
Maximum number of records returned in one response
Response
Successful response with departments data
data
has_more
Indicates if there are more departments available
next_cursor
Cursor for pagination to get the next set of results
total_count
Total number of departments available