Skip to main content
GET
/
organization
/
chat
Get chat widget configuration
curl --request GET \
  --url https://api.getfernand.com/organization/chat \
  --header 'X-API-Key: <api-key>'
{
  "secret": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0",
  "settings": {
    "channel": 12345,
    "domains": [
      "piedpiper.com",
      "piedpiper.dev",
      "piedpiper.xyz"
    ]
  }
}
Returns the organization’s chat widget settings.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Response

200 - application/json

Chat configuration retrieved successfully.

secret
string

Secure key for HMAC authentication of chat widget.

Example:

"a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0"

settings
object

Chat widget settings.