Skip to main content
POST
/
companies
Create a company
curl --request POST \
  --url https://app.leonar.app/api/v1/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Doctolib",
  "domain": "doctolib.com",
  "industry": "Health Tech",
  "company_size": "1001-5000",
  "location": "Paris, France"
}
'
{
  "data": {
    "id": "b2c3d4e5-6789-01ab-cdef-234567890abc",
    "name": "Doctolib",
    "domain": "doctolib.com",
    "industry": "Health Tech",
    "company_size": "1001-5000",
    "description": null,
    "location": "Paris, France",
    "logo_url": "https://logo.clearbit.com/doctolib.com",
    "phone": null,
    "linkedin_url": "https://www.linkedin.com/company/doctolib",
    "annual_revenue": null,
    "created_at": "2025-01-10T08:00:00Z",
    "updated_at": "2025-01-20T14:00:00Z",
    "archived_at": null
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Body

application/json
name
string
required
Maximum string length: 255
domain
string
Maximum string length: 255
industry
string
Maximum string length: 100
company_size
string
Maximum string length: 50
description
string
Maximum string length: 5000
location
string
Maximum string length: 500
logo_url
string<uri>
phone
string
Maximum string length: 50
linkedin_url
string<uri>
annual_revenue
number
owner_id
string<uuid>
custom_data
object

Response

Company created

data
object
Example:
{
"id": "b2c3d4e5-6789-01ab-cdef-234567890abc",
"name": "Doctolib",
"domain": "doctolib.com",
"industry": "Health Tech",
"company_size": "1001-5000",
"description": null,
"location": "Paris, France",
"logo_url": "https://logo.clearbit.com/doctolib.com",
"phone": null,
"linkedin_url": "https://www.linkedin.com/company/doctolib",
"annual_revenue": null,
"created_at": "2025-01-10T08:00:00Z",
"updated_at": "2025-01-20T14:00:00Z",
"archived_at": null
}