Skip to main content
POST
/
api
/
agents
/
{agent_id}
/
share-link
Enable Agent Share Link
curl --request POST \
  --url https://api.example.com/api/agents/{agent_id}/share-link \
  --header 'Authorization: Bearer <token>'
{
  "agent_id": 123,
  "share_enabled": true,
  "share_token": "<string>",
  "share_updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
integer
required

Response

Successful Response

Owner-only share link state, including the raw token.

agent_id
integer
required
share_enabled
boolean
required
share_token
string | null
required
share_updated_at
string | null
required