Opportunities
Query opportunities
Returns the same records as the list endpoint, with filter, sort, include and pagination sent as a JSON body, so a filter too large for a URL still fits. To fetch the next page, re-send the same body with the next page, or with cursor set to meta.next_cursor after a first request with "cursor": true. A GET to links.next is not a valid request. A body larger than 256 KB returns 413.
post/v1/opportunities/query
Request
- Base URL: https://api.relaticle.com
- URL: https://api.relaticle.com/v1/opportunities/query
- Auth: HTTP bearer
Request body
Example request
{
"per_page": 15,
"page": 1,
"include": "creator",
"sort": "-created_at",
"filter": {
"name": {
"$contains": "Acme"
},
"$or": [
{
"creation_source": {
"$eq": "api"
}
},
{
"created_at": {
"$gte": "2026-01-01"
}
}
]
}
}Response
Example response
{
"data": [
{
"id": "",
"type": "opportunities",
"attributes": {
"name": "Eius nihil cumque quia sunt aut dolores.",
"company_id": null,
"contact_id": null,
"creation_source": "web",
"created_at": "2026-10-18T19:06:15.000000Z",
"updated_at": "2026-10-18T19:06:15.000000Z",
"custom_fields": {}
}
},
{
"id": "",
"type": "opportunities",
"attributes": {
"name": "Delectus nemo molestiae ea quia ea.",
"company_id": null,
"contact_id": null,
"creation_source": "web",
"created_at": "2026-10-18T19:06:15.000000Z",
"updated_at": "2026-10-18T19:06:15.000000Z",
"custom_fields": {}
}
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 15,
"to": 2,
"total": 2
}
}Changes
No recorded changes to this operation across all 1 revision of this API.