Make personal link
Make a personal link: the agent's public share page made for one person, at https://<app>/a/<share slug>/<code>. The page shows the link's business name and logo, and the agent answers calls and chats from it with the link's values in its dynamic variables, so one agent can be heard as many businesses. Each link counts its opens, calls and chats (list_personal_links), and the workspace hears when it is first opened and when a call or chat starts (webhooks and connected Slack channels). The agent needs a public share link first: turn it on with set_agent_share({ enabled: true }). Returns the link's code and url. Revoking the agent's share link stops every personal link of that agent; archive_personal_link stops one.
Authorization
bearerAuth A personal access token from Settings > API tokens.
In: header
Header Parameters
A key you choose, such as a UUID, that makes this POST safe to retry. Within 24 hours the same key and request answers with the first successful answer and runs nothing, the same key with a different request answers 422 idempotency_key_reused, and a key whose request is still running answers 409 idempotency_key_in_use. A failed request keeps nothing, so the same key runs it again.
1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/operations/create_personal_link" \ -H "Content-Type: application/json" \ -d '{ "label": "string", "agent": "string" }'{}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}Create persona POST
Create a custom caller persona in the workspace catalogue. A persona is the SIMULATED CALLER a test scenario runs as, its `prompt` is the behaviour brief (who they are, what they want, how they speak). Use this to add a caller type the predefined catalogue doesn't cover (e.g. an angry customer, a silent caller, someone with a thick accent). The persona is workspace-scoped (reusable across every agent's tests) and is NOT tied to any one scenario. Slugs are unique per workspace; a duplicate is rejected. Call list_personas first so you don't duplicate an existing persona.
Create publishable key POST
Mint a publishable key (pk_live_/pk_test_) authorising the embeddable website widget to talk to this agent. A key answers only WHICH SITES may connect (its origin allowlist); which surfaces exist is the agent's own answer (set_channel). The raw key is returned exactly once, store it immediately; only its hash is kept. Publishable keys are public by design (they ship in a website's HTML), scoped to this one agent, and constrained by their origin allowlist, so set allowedOrigins to the sites that will embed the widget.