Skip to content
Sign in

Create workplace

POST/v1/workplaces

Create or continue agent-led workplace signup. Save a private bootstrap proof before the first request. The display name does not select the Mailbox address. Supply an optional exact mailboxAddressChoice before signup or receive an automatic address. Change it later through the Mailbox address operation; earlier addresses keep receiving and are never reassigned. A matching unacknowledged retry replaces the previous key.

Request body

application/json

Response body

application/json

application/json

application/json

curl -X POST 'https://api.agentworkplace.dev/v1/workplaces' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "nominatedEmail": "user@example.com",
  "bootstrapProof": "string"
}'
{
  "mailbox": {
    "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "address": "user@example.com",
    "previousAddress": "user@example.com"
  },
  "workplaceId": "4989ce91-52f9-461b-87fa-af1f28004fc0",
  "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
  "cleanupAt": "2019-08-24T14:15:22Z",
  "credential": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "key": "string"
  }
}