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": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79",
  "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

Response

201
application/json
The newly created org

The response is of type object.