Get Twitch settings
/api/settings/twitchThe Twitch connection: the app's client id, the channel, what the last Check found, whether the poll is on, and the "We're live on Twitch" post: its template, timings and where it goes. The client secret is never returned.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/settings/twitch"{ "clientId": null, "secretStored": true, "channel": null, "check": null, "limitedUntil": null, "live": true, "canGoLive": true, "polledAt": null, "pollProblem": null, "postAfterMinutes": 0, "postEveryHours": 0, "postTitle": "string", "postText": "string", "places": { "discord": null, "vrChat": null, "bluesky": false }, "vrChatRoles": [ { "id": "string", "name": "string" } ]}Start signing in with Bluesky POST
Only when the public address is https with no port. Finds the account from the handle (the one given, or the stored one) both ways, asks the account's sign-in server for a sign-in (PAR, PKCE, DPoP, with Modbot's own signing key) and answers the address of Bluesky's sign-in page. Bluesky sends the browser back to /api/bluesky/callback, which only the person who started may finish, and only for this account. Nothing is saved but the waiting sign-in, good for ten minutes. Needs the `ManageSettings` permission.
Forget Twitch settings DELETE
Remove the client id, the secret, the channel and what Check found, and turn the poll off. The post's template, timings and sites are kept. Needs the `ManageSettings` permission.