Skip to main content
POST
/
api
/
v1
/
companies
Create a new company
curl --request POST \
  --url https://app.sajn.se/api/v1/companies \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "name": "<string>",
  "orgNumber": "<string>",
  "country": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "orgNumber": "<string>",
  "country": "<string>"
}

Headers

authorization
string
required

Bearer token for API authentication

Body

application/json

Body

name
string
required
Minimum length: 1
orgNumber
string
country
string

Response

200

id
string
required
name
string | null
orgNumber
string | null
country
string | null
I