Skip to main content
POST
Add a member directly

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

application/json
name
string
required
Example:

"Jane"

email
string<email>
required
Example:

"jane@acme.com"

password
string<password>
required

At least 8 characters. The member can change it later.

Minimum string length: 8
Example:

"S3cret-passphrase"

surname
string | null
Example:

"Doe"

timezone
string | null

Defaults to the workspace timezone.

Example:

"Europe/Istanbul"

language_code
string | null

Defaults to the workspace language.

Example:

"tr"

status
enum<string>

Defaults to active. An inactive or blocked member cannot sign in.

Available options:
active,
inactive,
blocked
Example:

"active"

roles
string[]

Workspace role keys or uuids.

Example:
scopes
string[]

Extra scope keys on top of the roles.

Example:

Response

Member created

success
boolean
Example:

true

message
string
Example:

"Workspace member created"

data
object