Skip to main content
POST
Create user

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Body

application/json
id
string
required

Your stable id for the end user.

Example:

"user_4821"

name
string
Example:

"Ada Lovelace"

group_id
string

The group the user belongs to. Omitted: the organization's Default group. An unseen id provisions the group.

Example:

"grp_84f20c19"

tools_auth
object

Per-provider credentials to store for the user, same shape as the mint.

Example:

Response

The created user

user
object
group_id
string | null

The group the user was created in, when one was sent.

providers
string[]

Provider ids whose credentials were stored.