provider POST /interactions/{interaction_id}/{interaction_token}/callback
@utdk/discord /interactions/{interaction_id}/{interaction_token}/callback
create_interaction_response
interaction_id path required
string
interaction_token path required
string
with_response query
boolean

Try it

Authentication
Configure credentials for Discord HTTP API (Preview)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createInteractionResponse
POST/interactions/{interaction_id}/{interaction_token}/callback

Parameters

required
required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import discord from '@utdk/discord';

await discord.createInteractionResponse()