Issue an event ticket
const url = 'https://api.sonicdocs.ai/v1/documents/example/event-tickets';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.sonicdocs.ai/v1/documents/example/event-tickets \ --header 'Authorization: Bearer <token>'Status: planned. Contract v1.0.0; this endpoint is not deployed. Required scope: documents:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Single-use credential for one subscription to this document.
object
Example generated
{ "ticket": "example", "expires_at": "2026-04-15T12:00:00Z"}Headers
Section titled “Headers”The caller must supply a valid bearer API key.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}Headers
Section titled “Headers”Example
BearerSee service-interfaces.md for the per-operation status and code mapping.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}See service-interfaces.md for the per-operation status and code mapping.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}See service-interfaces.md for the per-operation status and code mapping.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}See service-interfaces.md for the per-operation status and code mapping.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}default
Section titled “default”See service-interfaces.md for the per-operation status and code mapping.
object
Included in service-generated upload errors to locate intake diagnostics.
Example generated
{ "title": "example", "status": 1, "code": "example", "detail": "example", "trace_id": "example"}