tickets
Open a support ticket
Create a ticket (with its first message) as the authenticated account. Notifies the tenant's support inbox.
Support staff (a tenant_read holder in the tenant, i.e. the developer role and up) may pass requester_account_id to open the ticket ON BEHALF OF another account in the same tenant — the agent-on-a-call path. The ticket then belongs to that customer, so GET /tickets?requester= finds it and the customer's own owner-baseline read can see it; the first message is still authored by the agent who typed it. A non-staff caller passing someone else's id gets 403, and an unknown or cross-tenant id gets 400.
post/tickets
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/tickets
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Request body
Example request
{
"body": "My payment to ACME was declined twice.",
"priority": "normal",
"subject": "Card payment failed"
}Response
Created
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.