customer-engagement
context
facts
Create fact definition
Creates a fact definition for the calling account. The fact name must be unique within the account; the request is rejected if a fact with the same name already exists.
post/context/1/facts
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Request body
Example request
{
"name": "preferred_language",
"description": "Customer's preferred communication language.",
"valueType": "STRING"
}Response
Created - the newly created fact definition
Example response
{
"id": "0197a1c8-4a2b-7ef1-8b7c-3f0d2c9d3a11",
"name": "preferred_language",
"description": "Customer's preferred communication language.",
"valueType": "STRING",
"createdAt": "2026-09-15T10:12:33.421Z",
"updatedAt": "2026-09-15T10:12:33.421Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.