Skip to main content
Rotate Agent Widget Key
The old key stops working immediately, and the new one is shown once. Update your site in the same change.
Rotate when the key has been exposed somewhere it should not be — a public repository, a screenshot, a departing contractor’s machine.

Authorizations

Authorization
string
header
required

Your API key as a Bearer token, e.g. Authorization: Bearer vk_….

Path Parameters

agent_id
string
required

The agent's id, as GET /v1/agents returns it.

Response

The new public key, shown once. The old one stops working immediately.

id
string
public_key
string
public_key_prefix
string