List of contracts
Retrieve a list of contracts.
Token scopes: contracts: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
after_cursor
Return next page of results after the given cursor.
limit
Return a page of results with the given number of records.
order_direction
Order direction of results; ascending or descending.
Allowed values:
types
Filter contracts by type. A contract is included in the results if its type is in this list.
statuses
Filter contracts by current status. A contract is included in the results if its status is in this list.
team_id
Filter contracts for the given team ID. NOTE: All query parameters are technically strings or arrays of strings.
external_id
Filter contracts for the given external ID.
external_id_absent
Filter contracts by external ID presence. When true, returns contracts without an external ID. When false, returns contracts with an external ID. Cannot be used with external_id query param when set to true.
countries
Filter contracts by country codes.
currencies
Filter contracts by currency codes.
search
Include a contract if its name or the contractor's name contains the given search term.
sort_by
Sort contracts by the given field name.
Allowed values:
expand
Include cost centers in the response.
Allowed values:
Response
Successful operation.
data
Array of contract objects.
page
Pagination information for the response.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error