POST : Create company

This endpoint lets you create one company for a given media.

This endpoint requires :

β€’ brand_admin, media_admin or media_partner roles.

β€’ r_w_companies scope.

Important informations

  • This endpoint have a short rate limits β†’ Rate limits

Create new company

POST https://api.piloty.fr/companies

Request Body

Name
Type
Description

media_public_id*

string

ex: "acme_media"

name*

string

eg: "ACME Company"

domain_url

string

eg: "acme-company.com"

sector_id

string

Can be multiple separate by ; from List Sectors

size_id

string

description

string

eg: "Lorem Ipsum ..."

logo_url

string

eg : "https://domain.com/url_path" Required format image : MIME IMAGE

logo

file

Image file format are accepted To use with content-type : multipart/form-data

You can add a logo to a company by add to the body : logo_url as string url OR logo as file

Request example with application/x-www-form-urlencoded

Request example with multipart/form-data

Last updated