Internal
Generate auto-login URL for Slack relay
M2M endpoint called by cv-slack relay. Returns a one-time URL that logs the user into CV and redirects to the conversation.
post/internal/slack-auth/auto-login
Request
- Base URL: https://api.carbonvoice.app
- URL: https://api.carbonvoice.app/internal/slack-auth/auto-login
- Auth: none declared
Request body
Example request
{
"cv_user_id": "usr_abc123",
"slack_user_id": "U01234567",
"email": "user@example.com",
"cv_conversation_id": "ch_xyz789",
"first_name": "Jane",
"last_name": "Doe",
"image_url": "https://avatars.slack-edge.com/xxx"
}Response
Auto-login URL generated successfully
Example response
{
"url": "https://carbonvoice.app/c/ch_xyz789?a=token&u=usr_abc&m=cp"
}Changes
No recorded changes to this operation across all 1 revision of this API.