List of immigration cases for workers
Retrieves a paginated list of immigration cases with filters for applicant name, case type, status, and country. Returns case details including type, status, process, timestamps, and optional closure information.
Token scopes: worker: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
search
Search by applicant name or code
case_type_ids
Filter by case type IDs
statuses
Filter by case status
Allowed values:
countries
Filter by country. Uses ISO 3166-1 alpha-2 codes (https://www.iban.com/country-codes).
cursor
Pagination cursor for fetching next set of results
limit
Max number of results to return
Response
Successful operation.
data
List of cases in the current page.
has_more
Indicates whether more results are available for pagination.
total_count
Total number of cases matching the search criteria.
next_cursor
Cursor value to be used for fetching the next page of results.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error