Connect a Slack incoming webhook to a phone number so Nixflex posts a summary to your Slack channel after each call. Configured per phone number.
Set the Slack webhook
The phone number in E.164 format (for example +447446466847), passed in the URL.
A Slack incoming webhook URL. Must be an https URL on hooks.slack.com.
curl -X PUT "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
-H "Authorization: Bearer nxf_xxx:nxfs_xxx" \
-H "Content-Type: application/json" \
-d '{"webhook_url": "https://hooks.slack.com/services/T000/B000/xxxx"}'
{
"ok": true,
"phone_number": "+447446466847"
}
Check the current state
curl -X GET "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
-H "Authorization: Bearer nxf_xxx:nxfs_xxx"
Remove the integration
curl -X DELETE "https://api.nixflex.com/v1/integrations/slack/number/+447446466847" \
-H "Authorization: Bearer nxf_xxx:nxfs_xxx"
Notes
- The number must belong to your account (matched on your API key). A number you do not own returns
404.
- The webhook URL must be an
https Slack incoming webhook (hooks.slack.com).
- This setting is stored per phone number and persists until you change or remove it.
- For the feature guide, see Slack.