Get a support answer
Returns a run started by your team, with the answer once it is ready.
Prefer the support.run.completed and support.run.failed webhooks. Use this as the fallback, waiting pollAfterSeconds between polls.
costUsd is the amount billed for the question, never above maxCostUsd, and 0 for a failed run (pricing on Ask a support question).
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Responses
Success· the request worked
Errors· the request failed
Ask a support question
Asks the Zernio Support Assistant a question about your workspace. Each question starts a run that answers asynchronously. ### How a run works 1. This returns 202 with a `runId`. 2. The answer arrives through the `support.run.completed` and `support.run.failed` webhooks. `GET /v1/support/runs/{runId}` is the fallback. 3. When the assistant finds a problem on Zernio's side, it opens a support ticket with the team (see `supportTicket` on the run) and the run ends as `needs_human`. Pass `threadId` to continue an earlier conversation, and `context` to point the assistant at a post, account, profile or a failed request (its `X-Request-Id`). ### Pricing You pay per question, once it finishes. The exact amount charged is the run's `costUsd`. | Question | You pay | | --- | --- | | Typical question | $0.10 to $0.50 | | Most one question can cost | Its `maxCostUsd`: $0.50 to $3, $3 by default | | Handed to the Zernio team (`needs_human`) | Charged like an answered question | | Failed or expired | $0 | | All questions in a UTC month | At most $100 per account | Near its `maxCostUsd` a run stops investigating and answers with what it found so far, so it never charges more than the cap. With nothing to answer yet, it fails and costs nothing. Charges appear as "Support API" on your invoice. ### Requirements and limits - Requires an unrestricted API key, usage-based billing and a card on file. - Limits per account: 3 active runs and $100 of runs per UTC month. - Send an Idempotency-Key header to make retries safe.
Get persistent menu
Get the persistent menu configuration for a Facebook Messenger or Instagram account. Instagram accounts connected through Facebook Login are read through their linked Page (Meta's `platform=instagram`), Instagram Login accounts through the Instagram API.