Skip to content

AI bot of the brand: configuration and this month spend (credentials.manage)

GET
/v1/brands/{brand}/ai/bot
curl --request GET \
--url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/ai/bot
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000

Bot configuration (defaults when never configured)

Media typeapplication/json
object
enabled
required

Off by default. The bot also turns itself off when the monthly budget is reached.

boolean
instructions
required

Free text, up to 4000 characters: tone, business information, policies.

string
<= 4000 characters
channels
required

Only whatsapp in this version.

Array<string>
Allowed values: whatsapp
handoffKeywords
required

Words that hand the conversation to a person (besides “human”, “agent” and “person” in the 12 languages).

Array<string>
<= 50 items
monthlyBudgetUsd
required

Monthly AI spend limit for the brand, in USD (10 by default).

number
<= 100000
spentUsdMonth
required

Estimated spend this month, in USD.

number
budgetWarning
required

The spend reached 80 % of the limit.

boolean
updatedAt
required
string
nullable

Example

{
"channels": [
"whatsapp"
]
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}