Connect a Slack incoming webhook
Validates the Slack-issued bearer URL shape and stores it encrypted. Slack incoming webhooks expose no read-only probe; activation and channel policy are authoritatively checked on the first publish.
Authorization
Bearer API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/connect/slack" \ -H "Content-Type: application/json" \ -d '{ "webhook_url": "http://example.com" }'{ "account": { "avatar_url": "string", "connected_at": "2019-08-24T14:15:22Z", "display_name": "string", "id": "string", "metadata": { "property1": null, "property2": null }, "platform": "twitter", "platform_account_id": "string", "updated_at": "2019-08-24T14:15:22Z", "username": "string", "workspace": { "id": "string", "name": "string" } }}Found something wrong? Help us improve this page.