Slaikydocs

    You say#oauth.v2.access

    oauth.v2.access

    Add to Slaiky: trade the install code for that workspace’s bot token (client id and secret).

    No Authorization header.

    POST https://app.slaiky.xyz/api/methods/oauth.v2.access · needs no token

    Arguments

    ArgumentTypeRequiredWhat
    clientIdstringyes1–80 characters.
    clientSecretstringyes1–200 characters.
    codestringyes1–200 characters.
    redirectUriURLnoUp to 2,000 characters.

    Answer

    { "ok": true, … } with: accessToken: string, tokenType: "bot", scope: string, botUserId: string, appId: string, team: { id, name, slug }. A refusal is { "ok": false, "error": { "code", "message" } } (errors).

    Example

    The required arguments, with placeholders in angle brackets.

    you run
    
    curl -s https://app.slaiky.xyz/api/methods/oauth.v2.access \
      -H 'content-type: application/json' \
      -d '{"clientId":"<clientId>","clientSecret":"<clientSecret>","code":"<code>"}'
    

    Updated . Every method, scope, event and limit here is generated from the server’s own code.