Get the signing secret
curl --request GET \
--url https://api.nixflex.com/v1/organisation/signing-secret \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nixflex.com/v1/organisation/signing-secret"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nixflex.com/v1/organisation/signing-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nixflex.com/v1/organisation/signing-secret",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nixflex.com/v1/organisation/signing-secret"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nixflex.com/v1/organisation/signing-secret")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nixflex.com/v1/organisation/signing-secret")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"signing_secret": "REDACTED_EXAMPLE_ONLY"
}
Organisation
Get the signing secret
Privately retrieve the Nixflex organisation signing secret to verify event deliveries. Keep it server-side and out of logs, browsers and shared output.
Get the signing secret
curl --request GET \
--url https://api.nixflex.com/v1/organisation/signing-secret \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.nixflex.com/v1/organisation/signing-secret"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.nixflex.com/v1/organisation/signing-secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.nixflex.com/v1/organisation/signing-secret",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.nixflex.com/v1/organisation/signing-secret"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.nixflex.com/v1/organisation/signing-secret")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nixflex.com/v1/organisation/signing-secret")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"signing_secret": "REDACTED_EXAMPLE_ONLY"
}
FIXED · organisation MUST With organisations enabled, each organisation has one signing secret. Send the human Owner to the dashboard. Never ask for it in chat or expose it to AI tools.
An authorised server can use an Owner session or the organisation API credential. Admin and Member sessions cannot retrieve it. Store it on the receiving server. Without organisations, the webhook signing secret is only the owning credential’s
An authorised server can use an Owner session or the organisation API credential. Admin and Member sessions cannot retrieve it. Store it on the receiving server. Without organisations, the webhook signing secret is only the owning credential’s
KEY_SECRET part. In either mode pass the webhook signing secret as keySecret to the Node verifier.
NOT OFFERED → do this instead · number call.bookings has no account field or per-number secret. After signature verification, look up number in your own tenant table. It is the business to number inbound and from number outbound.
YOU CAN CHANGE · number Set delivery destinations per number. Pre-call settings can be scoped to an agent or number. Keep the delivery destination and your signature-verification secret separate.
SCOPE · operation Verify X-Nixflex-Signature (t=<timestamp>,v1=<hex>) with HMAC-SHA256 over timestamp + ”.” + the original raw request body. Compare the digest in constant time and enforce a freshness policy before trusting the payload.
Read the compact AI rules
Explicitly retrieve the organisation signing secret for verifying event deliveries. Keep the result in a private secret store; never expose it in logs, chat or tool output.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
- Your server can use the organisation API key. Among dashboard users, only the Owner can retrieve the shared signing secret. There is one secret for the organisation.
- Keep the stable signing secret separate from the API credential and out of logs.
Authentication
SendAuthorization: Bearer KEY_ID:KEY_SECRET for server-side organisation API-key authority, or a verified personal dashboard Bearer session. The shared API key has Owner authority for these methods; keep it server-side. A personal session is checked against current membership and MFA. Personal access is Owner only. The service must have organisations enabled; otherwise these routes return 404. Personal invitation acceptance, leaving and ownership transfer are separate dashboard flows and are not API-key methods.
Request fields
No request body or query fields are required. The organisation context and member list omit this secret. Read it through the dedicated endpoint and store it privately on your webhook receiver.Response fields
200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.
| Field | Type | Meaning |
|---|---|---|
signing_secret | string | Private organisation signing secret. Independent of API-key rotation. |
Example request
Server operation:GET /v1/organisation/signing-secret. Send the organisation credential as the bearer token. The response belongs in private server configuration. The published SDKs, CLI and MCP server omit this operation.
Example response
Illustrative200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.
{
"signing_secret": "REDACTED_EXAMPLE_ONLY"
}
Errors
Failures return anerror 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.
| Status | Code | Meaning | What to do |
|---|---|---|---|
| 404 | not_found | Organisation routes are not enabled on this service. | Check deployment availability; do not retry unchanged. |
| 503 | organisation_unavailable | The organisation action could not be confirmed. | Refresh the current state before trying again. |
| 403 | permission_denied | The current personal role does not allow this action. | Use an authorised personal session; do not share the organisation key. |
| 403 | membership_revoked | The personal membership has ended. | Sign in again or contact the Owner. |
| 401 | invalid_token | The personal session is invalid or expired. | Sign in with your own login again. |
| 503 | auth_unavailable | The personal session could not be verified. | Retry the read later; reconcile uncertain changes. |
| 401 | unauthorized | The credential is missing or invalid. | Check the full account credential. |
| 429 | rate_limit_exceeded | The account request limit was reached. | Wait for Retry-After. Reconcile uncertain writes before resending. |