POST
/
v1
/
companies
curl --request POST \
  --url https://api.hyperline.co/v1/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Acme",
  "address": {
    "name": "Acme",
    "line1": "5 rue de Paradis",
    "line2": "<string>",
    "city": "Paris",
    "zip": "75010",
    "state": "<string>",
    "country": "FR"
  }
}'
{
  "id": "cou_DKL4Xcb5VSa8CQ",
  "name": "Acme",
  "logo_url": "<string>",
  "favicon_url": "<string>",
  "address": {
    "name": "Acme",
    "line1": "5 rue de Paradis",
    "line2": "<string>",
    "city": "Paris",
    "zip": "75010",
    "state": "<string>",
    "country": "FR"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Company name.

address
object
required

Address of the default invoicing entity

Response

201 - application/json
id
string
required

Company ID.

name
string
required

Company name.

logo_url
string | null
required

Logo URL of the default invoicing entity.

favicon_url
string | null
required

Favicon URL of the default invoicing entity.

address
object
required

Address of the default invoicing entity