Invocations
Answer a deferred invocation
Send the answer to a slash command or message action your app deferred.
POST
Answer a deferred invocation
Answers a slash command or message action run that your app
deferred by answering its delivery with
With the SDK, call
202. Reintersect places the answer exactly as it would have
placed a direct answer: a public answer is posted as your app, and a private answer becomes the card
only the member who ran it sees. The answer’s visibility applies whatever the deferral said; the
deferral only decided who saw your app thinking.
Authenticate with an install token. No scope is needed. The run must belong to the same install.
Body
InvocationAnswer:
You have 15 minutes from the delivery. A run takes one answer.
Response
200 with { invocationId }.
Errors
An answer that fails validation leaves the run failed; the member sees the failure card.
Example
reintersect.invocations.respond({ interactionToken, answer }), or return
defer(async () => answer) from the handler. See Deferring.