Channels

Complete a Mastodon publisher connection flow

GET
/api/oauth/mastodon/callback

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Response Body

Human authentication is required

application/json
  1. response
error*
Example Request
curl -X GET 'https://postbot.example/api/oauth/mastodon/callback'
Example Response401
{
  "error": {
    "code": "string",
    "message": "string"
  }
}

Was this page helpful?