Skip to main content
POST
Add User to Workspace

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

workspace_id
string
required

The ID of the workspace.

Body

application/json
id
string
required

The id of an existing record in the users table.

Example:

"01h8xyz123abc456def789ghi"

role
enum<string>
required
Available options:
owner,
admin,
developer,
member
Example:

"member"

modules
enum<string>[]
Available options:
agents,
knowledge_base,
phone_numbers,
call_history,
analytics
Example:
agent_ids
string[]

The id of an existing record in the agents table.

Example:

Response

201 - application/json
data
object