Server SDKs
Build AI agents, control calls, send messages, and more
create_embed_token
Create an embed authentication token.
format: "jwt"
1{2 "token": "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiY2giOiJwdWMubHZoLm1lIiwidHlwIjoiU0FUIn0.."3}
1from signalwire.rest import RestClient23client = RestClient(4 project="your-project-id",5 token="your-api-token",6 host="your-space.signalwire.com",7)89token = client.fabric.tokens.create_embed_token(token="click-to-call-token")10print(f"Embed token: {token['token']}")