Search the provider for tickets
const url = 'https://api.adversarial.com/api/v1/integrations/example/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/configs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tickets/search?query=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.adversarial.com/api/v1/integrations/example/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/configs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tickets/search?query=example'Returns tickets an operator can link to a register item.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Text matched against provider tickets.
Optional project/team scope. Required for ServiceNow (the table).
Responses
Section titled “Responses”A generic preview of an external ticket for autocomplete and linked-ticket display. Works across all ticket integrations (Jira, ServiceNow, etc.).
object
false when the external system no longer returns this ticket (a
dangling link kept visible only so the user can unlink it); true for
live tickets. Synthesized unresolved previews set this to false.
Opaque external ticket ID.
Icon URL for the ticket type.
Human-readable ticket key (e.g. “PROJ-123”, “INC0012345”).
Short summary/title.
The source table the ticket lives in (e.g. “incident”); null when the
integration has no such concept.
URL to view the ticket in the external system.
Examplegenerated
[ { "available": true, "id": "example", "image": "example", "key": "example", "summary": "example", "table": "example", "url": "example" }]