REST APISlack
What Slack sent back to the dashboard. The signed-in member must be the one who started it, so nobody can get a member to connect a workspace to another organization. Session only.
apiKeyAuthorizationBearer <token>An organization API key from the dashboard (Settings → API keys), e.g. Authorization: Bearer annoty_.... x-api-key: annoty_... also works. While the organization has no subscription or trial, every request with a key except GET /v1/organization fails with 402 SUBSCRIPTION_REQUIRED.
application/jsoncode*string1 <= lengthstate*string1 <= lengthConnected
application/jsonteamId*stringteamName*stringprojectId*|The project to return to
curl -X POST 'https://api.annoty.app/v1/slack/install/complete' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"state": "string"
}'{
"teamId": "string",
"teamName": "string",
"projectId": "string"
}