List opportunities
Changed onReturns a paginated list of opportunities with optional filtering.
Date filters:
- createdAfter / createdBefore - only return opportunities created within a specific date range (ISO 8601)
- updatedAfter / updatedBefore - only return opportunities last modified within a specific date range (ISO 8601). Filters on the updatedAt field
Incremental sync: To keep an external copy in sync, use updatedAfter as a cursor: on each run, request updatedAfter=<the highest updatedAt you have seen so far>, page through the results, and persist the maximum updatedAt across the rows you receive. Pass that stored value as updatedAfter on the next run to fetch only records that changed since. Because the bound is inclusive you may re-receive the boundary row — upsert by id to stay idempotent.
Deletions (tombstones): Soft-deleted opportunities are excluded by default. Pass includeDeleted=true to also receive deleted opportunities as tombstones — each carries a populated deletedAt (live rows have deletedAt: null). Combine includeDeleted=true with updatedAfter to incrementally pick up deletions: a soft-delete bumps updatedAt, so the deleted row resurfaces in the next poll with deletedAt set.
Request
- Base URLhttps://api.recruitwithatlas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number (min: 1)
Items per page (min: 1, max: 100)
Show archived opportunities only. Applies to live rows; when includeDeleted=true, soft-deleted opportunities are always returned as tombstones regardless of their archived state.
Case-insensitive partial match on opportunity name
Comma-separated pipeline stage ID(s)
Comma-separated owner email(s)
Filter by opportunity type
Filter by opportunity status
Filter by associated candidate (person) ID
Include soft-deleted opportunities as tombstones (with a populated deletedAt). Defaults to false. Pair with updatedAfter to incrementally sync deletions.
Response
List of opportunities
Changes
- warning
added the new
genericenum value to the//response property for the response status - warning
added the new
jobenum value to the//response property for the response status - info
added the new enum value
genericto thequeryrequest parametertype - info
added the new enum value
jobto thequeryrequest parametertype - info
added the optional property
to the response with the status - info
added the required property
//to the response with the status
- warning