Get Intake Deflection Suggestions
GET/api/support/intake/deflect
Before a ticket is opened: given what the person is about to ask, returns the help-docs sections and their organisation's previously resolved tickets that may already answer it. Results are cached briefly per query, so calling it as they type is fine.
Called by another SKU environment (beta, demo, dev) on behalf of its users: authenticate with that environment's intake token and the origin headers described below — not with a Personal Access Token or a session.
Query parameters
q(string, required, 3–500 characters) — the question or problem, free text
Response fields (data)
docs[](array, up to 3, best match first) —title,url,snippet(max 240 characters) andscore(a rank-derived confidence)tickets[](array, up to 3, most recently updated first) —id,subject,status(resolvedorclosed) andresolved_at, limited to tickets this caller can see
The prior-ticket half needs both a mapped production tenant and a SKU.io account holding the requester's address; without either, tickets is an empty array and the docs half still answers. The shape never changes.
Authentication: the environment token as Authorization: Bearer, plus the X-Support-* identity headers described on the Intake folder. There is no session and no tenant context. An unknown token, or a token presented with another environment, is refused with 403; incomplete identity headers are 422.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.