Avisi cloud logo
Organisations

Create an organisation.

POST
/api/v1/registration
organisationNamestring
Match^[a-zA-Z0-9\-\s&]*$
Length3 <= length <= 30
organisationTypestring
Value in"BUSINESS" | "ENTERPRISE" | "INDIVIDUAL" | "TRIAL"
vatNumber?string
Length0 <= length <= 255
companyName?string
Length0 <= length <= 255
companyAddress?string
Length0 <= length <= 255
acceptedAgreementsarray<AcceptAgreementRequest>

Response Body

curl -X POST "https://api.avisi.cloud/api/v1/registration" \
  -H "Content-Type: application/json" \
  -d '{
    "organisationName": "string",
    "organisationType": "BUSINESS",
    "acceptedAgreements": [
      {}
    ]
  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "name": "string",
  "vatCode": "string",
  "companyName": "string",
  "companyAddress": "string",
  "contactEmail": "string",
  "billingEmail": "string",
  "vatCodeValidated": true,
  "vatCodeValidatedAt": "2019-08-24T14:15:22Z",
  "phoneNumber": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "acceptedTerms": true,
  "acceptedTermsAt": "2019-08-24T14:15:22Z",
  "hasStripeCustomer": true,
  "restrictedToAvailableCloudProviders": true,
  "type": "BUSINESS",
  "slug": {
    "slugValue": "string"
  }
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}
{
  "message": "string",
  "details": [
    "string"
  ]
}