Set branded call
PUT/v1/businesses/{businessId}/branded-call
Turns branded call on or off for the business, per the enabled flag
in the body, and manages Secure Branding, which rides on top of it.
Disabling branded call (enabled: false) takes the business offline
(status becomes INACTIVE) without deleting anything — users can
still log in — and disables Secure Branding too. Enabling brings it
live again (status becomes ACTIVE).
The business must have completed verification; a disabled (INACTIVE)
business can be re-enabled. A business still under review, or one being
shut down, returns 409.
Path Parameters
The ID of the business, assigned by Hiya.
9b8a1c4e-2c0f-4f3d-9a1e-7b3a2b4c6d8fHeader Parameters
Your own correlation ID for this call, returned as
requestId
400
INVALID_HEADER
Possible values: <= 200 characters, Value must match regular expression ^[A-Za-z0-9._:/+=@-]+$
job-2f9c1a7e-0042Body
required
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Branded call was updated. Returns the updated business.
Response Body
The request is invalid — enabled is missing or not a boolean, or
the X-Hiya-Request-Id header doesn't match its pattern.
Response Body
The API key is missing or invalid.
Response Body
No business with that ID exists, or it isn't one of yours — the two are indistinguishable by design.
Response Body
The business isn't in a state that allows this change — it hasn't
completed verification yet, or it is being shut down. Returned as
CONFLICT; the message says which case applies.
Response Body
Something went wrong on our side.
Response Body