discovery

Create a new organization and switch to it (session only)

Session only. Creates the organization (the caller becomes its owner), the same default settings + 'Default' project every signup gets, then makes it this session's active organization.

post/v1/organizations

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/organizations
  • Auth: HTTP bearer

Request body

namestring required
slugstring

Response

created

idstring required
slugstring required
namestring required
role'owner' | 'admin' | 'member' | 'null' nullable required

The caller's role in this organization. Null when the caller is an API key — keys are org-scoped, not user-scoped, so they have no membership role of their own.

is_activeboolean required

Example response

{
  "id": "fm_8f3kq2"
}

Changes

No recorded changes to this operation across all 1 revision of this API.