PawTalk Support
Sign in

interactions

Last updated 4 October 2026

Interactions are how people talk to your bot: slash commands, buttons and select menus. Each one arrives as an event with a one-time token for your reply.

Slash commands

Register your commands once. They show up when people type / in a server where your bot is.

RegisterRequest
PUT https://paw-talk.xyz/api/v1/applications/@me/commands
[
  { "name": "ping", "description": "Check the bot is alive" },
  { "name": "roll", "description": "Roll a dice" }
]

Replying

When someone uses a command, your bot gets INTERACTION_CREATE with an id and a token.

ReplyRequest
POST /interactions/{id}/reply
{ "token": "...", "content": "Pong!" }
Only they see itRequest
POST /interactions/{id}/reply
{ "token": "...", "content": "Only you can see this", "ephemeral": true }

Buttons & menus

Add components to a reply or to any bot message.

ComponentsJSON
{ "token": "...", "content": "Pick one:", "components": [
  { "type": "buttons", "buttons": [
    { "custom_id": "yes", "label": "Yes", "style": "success" },
    { "style": "link", "label": "Docs", "url": "https://example.com" }
  ]},
  { "type": "select", "custom_id": "pet", "options": [
    { "label": "Fox", "value": "fox" }, { "label": "Cat", "value": "cat" }
  ]}
]}
Button styleLooks like
primaryMain action (accent colour)
secondaryGrey
successGreen
dangerRed
linkOpens a url - no click event
LimitsUp to 5 rows, 5 buttons per row, 25 options per menu.

Handling clicks

A click arrives as INTERACTION_CREATE with type: "component", the custom_id, and for menus the chosen values. Answer it, or edit the message the button was on:

Edit the messageRequest
POST /interactions/{id}/components
{ "token": "...", "content": "Thanks for voting!", "components": [] }

Time limits

60 secondsto send the first reply.
15 minutesto send more with /interactions/{id}/followup.
Prefer HTTP?Set an Interactions endpoint URL on your app and interactions are POSTed to your server instead, signed - see Webhooks.

Didn't answer your question?

Somebody on the team will help.

Submit a request