WatificationDocs
Api referenceQuestions

Get a question and its answer

Returns one question in your workspace with its status and answer. Requires the messages.send scope. A question still awaiting after expiresAt is reported as expired, even before the expiry sweep runs.

Responses

StatusMeaning and codes
200The question.
401undefined
403undefined
404undefined

Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.

Schemas and examples

GET
/questions/{questionId}

Authorization

ApiKey
headerAuthorizationBearer <token>

Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.

Path Parameters

questionId*string

Question ID returned by create-question.

Formatuuid

Header Parameters

X-Correlation-ID?string

Optional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.

Response Body

The question.

application/json
  1. response

Question read. The same body is the webhook data for question.* events.

questionId*string
Formatuuid
reference*string
status*string
Value in"awaiting""answered""expired""failed"
answer*|

Set once the customer taps a button.

answeredAt*|
Formatdate-time
expiresAt*string
Formatdate-time
messageId*|
Formatuuid
conversationId*string
Formatuuid
contactId*string
Formatuuid
failure*|

Set when status is failed.

createdAt*string
Formatdate-time