Get started
- Introduction
- Key concepts
- Account management
- Organisation and project management
- Security overview
- Plans and credits
- System quotas
- Contact support
Workforce
- Workforce Overview
- Workforce Features
- Build an AI Workforce
- Share your Workforce
Agents
- Agents Overview
- Quick Start Guide
- Build Your Agent
- Give Your Agent Tasks
- Share Your Agent
- Use-cases & Examples
Tools
- Introduction
- Tool templates
- Create a tool
- Customize tools
- Tool steps
- Share your Tool
Knowledge
- Introduction
- Create knowledge
- Integrated Knowledge sources
- Find and Use Knowledge
- Enrich with tool
- Knowledge Tool steps
- Snippets
- Advanced
Integrations
- Introduction
- Add Integrations
- Remove Integrations
- LLM Integrations
- Agent Integrations
- Popular Integrations
- Integration Examples
Create User
This endpoint creates a new user
curl --location --request POST 'https://api.mintlify.com/api/user' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"current_token": ""
}'
{
"success": 1,
"user_group": {
"team_id": 3,
"token": "<user_group_token_to_auth_dashboard>",
"name": "Example 1",
"provided_id": "example_1"
}
}
Body
This is the current user group token you have for the user group that you want to rotate.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
The contents of the user group
Show Toggle object
Show Toggle object
This is the internal ID for this user group. You don’t need to record this information, since you will not need to use it.
This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify which user group is viewing the dashboard. You should save this on your end to use when rendering an embedded dashboard.
This is the name of the user group provided in the request body.
This is the user_group_id provided in the request body.
This is the environment tag of the user group. Possible values are ‘Customer’ and ‘Testing’. User group id’s must be unique to each environment, so you can not create multiple user groups with with same id. If you have a production customer and a test user group with the same id, you will be required to label one as ‘Customer’ and another as ‘Testing’
curl --location --request POST 'https://api.mintlify.com/api/user' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"current_token": ""
}'
{
"success": 1,
"user_group": {
"team_id": 3,
"token": "<user_group_token_to_auth_dashboard>",
"name": "Example 1",
"provided_id": "example_1"
}
}
Was this page helpful?
curl --location --request POST 'https://api.mintlify.com/api/user' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"current_token": ""
}'
{
"success": 1,
"user_group": {
"team_id": 3,
"token": "<user_group_token_to_auth_dashboard>",
"name": "Example 1",
"provided_id": "example_1"
}
}