Workspaces
Invite workspace member
Authorization
bearerAuth AuthorizationBearer <token>
API key (sk_...) as Bearer token
In: header
Path Parameters
workspaceId*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
role*string
Value in
- "admin"
- "member"
- "chatter"
telegramUsername*string
Length
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/workspaces/string/invites" \ -H "Content-Type: application/json" \ -d '{ "role": "admin", "telegramUsername": "string" }'{ "success": true}