Skip to main content
PUT
FIXED · number Scope each connection to its business number, including Slack. NOT OFFERED → do this instead · number The Slack settings read cannot recover a saved incoming webhook URL. Read webhook_url_set to check configuration. Enter the replacement secret on your server when rotating it. YOU CAN CHANGE · number Verify the business number, endpoint and settings before changing an integration. SCOPE · number Use that number’s integration for Slack, GoHighLevel, Zapier or Make. Read the compact AI rules Save Slack settings for an owned phone number. This replaces the saved configuration for this integration; omitted configuration values do not preserve the old values.
Method: PUT ·
Success: 200 ·
Scope: Owning account
The important part
  • Save the setting for the exact owned target, then read it back to confirm.
  • Saving a destination does not confirm that a notification reached the channel.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential. When personal dashboard sessions are enabled, Owner and Admin sessions can write these settings; Member sessions can read only. Ownership checks still apply. Send Content-Type: application/json.

Request fields

Send a JSON object. Credential values must stay private.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

Examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. Keep NIXFLEX_API_KEY in your private process environment. The cURL example uses Bash. Use approved owned fixtures and keep configuration responses private. Python shows sync usage; AsyncNixflex uses the same method with async with and await. Configure the existing MCP installation for the same account at https://api.nixflex.com. Save the request JSON fields from the example below in request-15.json privately before using cURL or CLI; replace fixture credentials only in that private file. Review the target and payload before this write.
request-15.json
MCP does not offer this operation because it accepts private credentials or executable settings; use the API, Node, CLI or Python.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a replacement write with no idempotency token. Read the current settings after a timeout before deciding whether to resend. Never overwrite a newer configuration blindly.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

phoneNumber
string
required

Owned E.164 number. URL-encode the leading plus sign.

Body

application/json

Send a JSON object. Credential values must stay private.

webhook_url
string
required
write-only

HTTPS incoming webhook whose host is exactly hooks.slack.com.

is_active
boolean
default:true

Only literal false disables this configuration.

agent_id
string

Fallback agent ID used only when the number has no assigned agent; does not move the number.

Response

OK

ok
boolean
required

Request succeeded.

phone_number
string
required

Owned phone number.

provider
string
required

Integration identifier.

Allowed value: "slack"
is_active
boolean
required

Whether the saved integration is enabled.