sk_live_ key.
Viewer login, sessions, call browsing, transcripts, and audio use the hosted
portal’s separate viewer authentication. They are not sk_live_ integration
endpoints.
Endpoints
Portal object
List and create portals
Returns
201 Created with the portal object.
Retrieve, update, and delete
PATCH /v1/client-portals/{portal_id} accepts any subset of:
DELETE returns 204 No Content and permanently removes the portal, its
viewers, domain records, and logo reference. It does not delete agents or calls.
Upload or remove a logo
Upload multipart form fieldfile. The accepted formats are PNG, JPEG,
and WebP, with a maximum size of 2 MB. The file contents must match the
declared MIME type.
{"logo_url":"https://…"}. Uploading a new logo replaces
the old one. DELETE removes it and returns 204.
Viewers
The viewer object is:201. PATCH accepts only is_active; setting it to false blocks
login without deleting the viewer. DELETE returns 204.
Custom domains
Create a domain with its hostname only:201:
Check it with:
status: "active" and verified_at. While
the TXT record is not visible, the response remains pending and repeats the
expected TXT and CNAME records. DNS propagation can take several minutes.
DELETE /domains/{domain_id} returns 204 and releases the hostname for reuse.
Errors and authorization
For the dashboard workflow and viewer experience, see
Client portals.
