curl --request PUT \
--url https://api.getfernand.com/organization/chat \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"channel": 12345
}
'{
"secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
"settings": {
"channel": 12345,
"domains": [
"piedpiper.com",
"piedpiper.dev",
"piedpiper.xyz"
]
}
}curl --request PUT \
--url https://api.getfernand.com/organization/chat \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"channel": 12345
}
'{
"secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
"settings": {
"channel": 12345,
"domains": [
"piedpiper.com",
"piedpiper.dev",
"piedpiper.xyz"
]
}
}Updates the organization’s chat widget settings. The channel property must be a valid channel ID belonging to the organization.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?