POST
/
api
/
v1
/
organizations
curl --request POST \
  --url https://app.aegister.com/api/v1/organizations \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '{
  "name": "Sample Organization",
  "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer et posuere erat. Phasellus iaculis metus mauris, quis accumsan felis fermentum at.",
  "number_employees": 10,
  "website": "https://sample.com",
  "logo": "https://sample.com/logo.svg",
  "sectors": [
    "Agriculture"
  ],
  "industries": [
    "Accounting"
  ],
  "infrastructure": "cloud",
  "contacts": [
    {
      "name": "John Doe",
      "role": "Supervisor",
      "email": "jdoe@mail.com",
      "phone": "3333333333",
      "email_report": true
    }
  ],
  "domains": [
    "sample.com"
  ],
  "ips": [
    "11.22.33.44"
  ]
}'
{
  "error": 0,
  "messages": [],
  "organization": 123
}

Authorizations

X-Aegister-Token
string
header
required

Body

Response

201
application/json

The response is of type object.