Create a project
Create a guide project.
Body
required
application/json
- Type: array string[]allowed
Domains required - Type: array string[]allowed
Users required - Type: booleanis
Private required - Type: stringnamerequired
- slug
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/guides
import Scalar from "@scalar/sdk";
const client = new Scalar({
bearerAuth: process.env["BEARER_AUTH"], // defaults to the BEARER_AUTH env var
});
const createGuide = await client.scalarDocs.createGuide({
name: "",
isPrivate: false,
allowedUsers: [],
allowedDomains: [],
});
console.log(createGuide);
{
"uid": "string",
"slug": "string"
}