API Reference
Phone
Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Response Body
application/json
curl -X GET "https://example.com/phone/numbers"{}Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Response Body
application/json
curl -X GET "https://example.com/phone/calls"{}Authorization
bearerAuth AuthorizationBearer <token>
A Space API key, e.g. wks_live_….
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/phone/sms" \ -H "Content-Type: application/json" \ -d '{ "to": "string", "message": "string" }'{}