👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request GET \ --url https://{instance}.omniapp.co/api/v1/documents/{documentId}/queries \ --header 'Authorization: Bearer <token>'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "query": {} } ]
Retrieve queries associated with a document
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Authorization
Bearer YOUR_TOKEN
Document identifier
Array of query objects
Query JSON structure
Was this page helpful?