PawTalk Support
Sign in

Getting Started

Last updated 4 October 2026

The PawTalk API is plain HTTPS and JSON. Bots use the same rules as people on the website: the same permission checks and the same audit log.

Your first bot in 4 steps

  1. Create an appOpen the Developer Portal and press Create a bot. Your app gets its own bot account with a BOT tag.
  2. Make a tokenOn the app's Bot tab, create a token and tick the scopes it needs. The token is shown once - store it somewhere safe.
  3. Add it to a serverUse the install link. A server manager picks exactly which permissions the bot gets there.
  4. Send a requestCall GET /me to check the token works.
Requestbash
curl https://paw-talk.xyz/api/v1/me \
  -H "Authorization: Bearer ptk_..."
Response200 OK
{
  "kind": "bot",
  "application": { "id": "3927903569680506", "name": "Foxbot" },
  "bot": { "id": "4252467509116067", "username": "foxbot", "name": "Foxbot" }
}
Base URLhttps://paw-talk.xyz/api/v1

Tokens

WhoHeaderUse it for
BotBearer ptk_...Server automation. Made on the app's Bot tab.
OAuthBearer pto_...Acting for a person who signed in with PawTalk. Limited to what they agreed to.
WebhookWebhook <secret>Posting into one channel with /webhooks/{id}/execute.
Keep tokens secretNever put a token in a website, a public repo or a screenshot. If one leaks, revoke it in the portal - it stops working at once.

Scopes

A bot token only does what its scopes allow, and what the server approved for the bot.

Readidentity.readservers.readchannels.readmembers.readroles.readmessages.read
Writemessages.writechannels.writeroles.writemoderation.write
OAuth (people)identifyemailservers.read

The full list, machine-readable: GET /oauth/scopes

Errors & limits

Error shapeJSON
{ "error": "missing_scope", "message": "..." }
StatusMeans
401No token, or it was revoked.
403Missing scope, or the server didn't approve that permission.
404Not found - or the bot can't see it.
429Too fast: max 120 requests a minute per token. Wait and retry.
IDs are stringsAlways keep ids as text. Parsing them as numbers breaks them in JavaScript.

Didn't answer your question?

Somebody on the team will help.

Submit a request