cURL
curl --request POST \ --url https://apigcp.trynia.ai/v2/slack/install/callback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "code": "<string>", "redirect_uri": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Exchange an OAuth code for tokens and create the installation.
Called by the frontend callback route after the user authorizes the Slack app.
API key must be provided in the Authorization header
Handle the OAuth callback from Slack.
Authorization code from Slack
Redirect URI used in the authorization request
Successful Response
Was this page helpful?
Suggestions
Contact support