CRMchat APIBeta
Workspaces

Invite workspace member

POST
/workspaces/{workspaceId}/invites

Authorization

bearerAuth
AuthorizationBearer <token>

API key (sk_...) as Bearer token

In: header

Path Parameters

workspaceId*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

role*string

Value in

  • "admin"
  • "member"
  • "chatter"
telegramUsername*string
Length1 <= length

Response 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}