Projects
Create a project
POST
sessionCookiecookie
better-auth.session_token<token>The Better Auth email/password session cookie used by the web application.
- body
name*stringLength
1 <= lengthtimeZone?stringLength
1 <= lengthworkspaceId?stringLength
1 <= lengthResponse for status 201
application/json- response
project*curl -X POST 'https://postbot.example/api/projects' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Example Response
{
"project": {
"id": "string",
"name": "string",
"timeZone": "string",
"workspaceId": "string",
"primaryCategoryId": "string",
"createdAt": -9007199254740991,
"updatedAt": -9007199254740991
}
}