API ReferenceApi claw embed
Create embed session
API documentation for Create embed session
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication.
In: header
Path Parameters
spaceId*string
agentId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/spaces/string/agents/string/embed-sessions" \ -H "Content-Type: application/json" \ -d '{ "externalUserId": "string" }'{ "token": "string", "embedUrl": "string", "sessionId": "string", "agentId": "string", "spaceId": "string", "expiresAt": "string", "api": { "statusUrl": "string", "messagesUrl": "string" }}