POST
/v2/slack/user-loginPair a user account with a Slack account
Pairs a Slack account with a user account using encrypted connection data. Pass the data query parameter generated for the account-linking flow to submit the pairing request.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
datastringrequired
Encrypted data describing the desired connection between the Slack account and the user account.
200Confirms that the Slack account and user account were paired.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the request is forbidden.
codestringrequired
paramsarray<object>optional
404Returned when the requested resource is not found.
codestringrequired
paramsarray<object>optional
Error handling
The data query parameter must contain the encrypted data for the Slack-to-user account connection. A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, a 403 indicates insufficient access, and a 404 indicates that the requested resource was not found.