POST
/
orgs
curl --request POST \
  --url https://api.withampersand.com/v1/orgs \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "label": "org-123"
}'
{
  "id": "org-123",
  "label": "Acme Inc",
  "defaultTeamId": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "updateTime": "2023-11-07T05:31:56Z"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
label
string
required

The organization label.

Example:

"org-123"

Response

201
application/json
The newly created org
id
string
required

The organization ID.

Example:

"org-123"

label
string
required

The organization label.

Example:

"Acme Inc"

defaultTeamId
string
required

The ID of the Everyone team for the org.

createTime
string
required

The time the organization was created.

updateTime
string

The time the organization was updated.