Skip to main content
POST
/
workspaces
Create a new workspace
curl --request POST \
  --url https://api.firma.dev/functions/v1/signing-request-api/workspaces \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Marketing Workspace",
  "protected": false
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "protected": true,
  "created_date": "2023-11-07T05:31:56Z",
  "updated_date": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Body

application/json
name
string
required

Workspace name

Maximum length: 255
protected
boolean
default:false

Whether the workspace is protected from deletion

Response

Workspace created successfully

id
string<uuid>

Unique identifier for the workspace

name
string

Workspace name

Maximum length: 255
protected
boolean

Protected workspaces cannot be deleted

created_date
string<date-time>

Workspace creation timestamp

updated_date
string<date-time>

Workspace last update timestamp

I