Create a project
Create a guide project.
OAuth scopes
- platform:write
Body
required
application/json
- Type: array of stringallowed
Domains required - Type: array of stringallowed
Users required - Type: booleanis
Private required - Type: stringnamerequired
- Type:slugmin length:1max length:60
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/guides
curl https://access.scalar.com/v1/guides \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"name": "Acme Documentation",
"slug": "acme-docs",
"isPrivate": false,
"allowedUsers": [
"alex@example.com"
],
"allowedDomains": [
"example.com"
]
}'
{
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"slug": "acme-docs"
}