Skip to content

Register a company

Request

Accepts a JSON payload to register a company with required and optional company data.

Security
PublicApiKey
Bodyapplication/jsonrequired
companyVatNumberstringrequired

The company's unique identifier (OIB, 11 digits).

Example:"12345678901"
companyNamestringrequired

The official name of the company.

Example:"Example Ltd."
companyAddressStreetstringrequired

Company street and street number.

Example:"Main Street 123"
companyAddressCitystringrequired

Company city.

Example:"Zagreb"
companyAddressPostalCodestringrequired

Company postal code.

Example:"10000"
companyAddressStatestringrequired

Company state.

Example:"Grad Zagreb"
companyAddressCountrystringrequired

Company country.

Example:"HR"
mpsRegisterbooleanrequired

Indicates whether MPS register required.

Example:true
emailstring

Contact email address (optional).

Example:"info@example.com"
companyWebsitestring

Website URL of the company (optional).

Example:"https://www.example.com"
ibanstring

IBAN of the company (optional).

Example:"HR1234567890123456789"
routingAddressstringrequired

Routing address for the company.

Example:"00000000000"
curl -i -X POST \
  https://omnizon-public-api.redocly.app/_mock/openapi/rest/v1/organizations/register \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "companyVatNumber": "12345678901",
    "companyName": "Example Ltd.",
    "companyAddressStreet": "Main Street 123",
    "companyAddressCity": "Zagreb",
    "companyAddressPostalCode": "10000",
    "companyAddressState": "Grad Zagreb",
    "companyAddressCountry": "HR",
    "mpsRegister": true,
    "email": "info@example.com",
    "companyWebsite": "https://www.example.com",
    "iban": "HR1234567890123456789",
    "routingAddress": "00000000000"
  }'

Responses

Company registered successfully.

Bodyapplication/json
organizationIdstringrequired

Unique identifier for the organization.

Example:"6787a98e15306d37eed688a8"
Response
{ "organizationId": "6787a98e15306d37eed688a8" }