Voice Agent Sharing

Enable Share

Enable Share

Requires the OWNER or ADMIN role. Turns on the agent's public share link and embeddable widget. Safe to call again to change isPublic/allowedDomains/expiresAt -- the existing shareToken and shortCode are kept rather than rotated.

post/voice/sharing/{agentId}/share

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/voice/sharing/{agentId}/share
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

agentIdstring required

Request body

isPublicboolean

Defaults to false.

allowedDomainsstring[]

Restrict the embeddable widget to these domains. Defaults to empty (no restriction).

expiresAtstring date-time

Response

OK

status'success'

Changes

No recorded changes to this operation across all 2 revisions of this API.