POST
/
api
/
external
/
v2
/
companies
Create a company
curl --request POST \
  --url https://app.pennylane.com/api/external/v2/companies \
  --header 'Content-Type: application/json' \
  --data '{
  "user_ids": [
    12345,
    14534
  ],
  "company": {
    "name": "Acme Inc.",
    "reg_no": "123456789",
    "country_alpha2": "FR",
    "number_of_employees": "1_5",
    "saas_plan": "v1_basic",
    "activity_code": "46.90Z",
    "address": "1, rue de la Paix",
    "city": "Paris",
    "postal_code": "75002"
  },
  "force_pro_account_creation": true
}'
{
  "company": {
    "id": 1
  }
}

Body

application/json
user_ids
integer[]
required

Array of IDs of executives belonging to the company

Example:
[12345, 14534]
company
object
required
force_pro_account_creation
boolean
required

Whether the company must first open a Pro Account to be able to use Pennylane

Example:

true

Response

Company created

company
object
required