API v3 is live and in beta: expect possible malfunctions and breaking changes in the coming days. If you find a bug, please report it to your Sillage contact.

Set a company's LinkedIn page

Give a company its LinkedIn page, confirm the page we suggested, or correct a wrong one.

Sets the LinkedIn page of a company of your workspace: to give a page to a company we could not identify, to confirm the page we suggested (send the linkedin_url of identification.suggested_company), or to correct a wrong one. The answer is the company, in the same shape as Get a company.

Only this company in your workspace changes; no other workspace is affected. Any LinkedIn company page is accepted: we do not check that it matches the company's website.

When the company is monitored, we start finding its people again from the new page by ourselves. Sending the page the company already has changes nothing, and sending the same page twice does not start a second mapping.

Route

PATCH/api/v3/companies/{company_id}

Access modes

Use a workspace API key. The workspace is inferred from the key.

Authorization: Bearer sk_live_...

Path parameters

ParameterTypeDescription
company_idintegerID of the company in the workspace, as returned by the other endpoints, for example the id of a company in a list. Use the value the API returned to you; do not guess it or reuse one from another workspace.

Body parameters

ParameterTypeDescription
linkedin_urlstringThe LinkedIn company page, with or without https://, for example linkedin.com/company/acme. Showcase, school and personal pages are refused.

Example request

curl -X PATCH "https://api.getsillage.com/api/v3/companies/789" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "linkedin_url": "https://www.linkedin.com/company/acme"
}'

Success response

Status: 200 OK

{
  "data": {
    "identification": { "status": "identified", "suggested_company": null },
    "id": 789,
    "name": "Acme",
    "domain": "acme.com",
    "website_url": "https://acme.com",
    "linkedin_url": "https://www.linkedin.com/company/acme",
    "linkedin_handle": "acme",
    "logo_url": null,
    "location": null,
    "locations": [],
    "number_of_employees": null,
    "employee_range": null,
    "founded_year": null,
    "industries": [],
    "activity_summary": null,
    "tagline": null
  }
}

Response fields

The fields are those of Get a company, including identification. The company is identified right away; its other fields fill in once we have read the page.

Errors

StatusMeaning
401The API key is missing or invalid.
402Your workspace has no active plan (paywall_required). Start your trial or choose a plan at https://www.getsillage.com/paywall, then retry.
404The company does not exist.
409Another company in your workspace already uses this LinkedIn page (linkedin_page_taken). Nothing was changed.
422The company_id is not a valid ID, linkedin_url is missing, or linkedin_url is not a LinkedIn company page (showcase, school and personal pages are refused).
429Rate limit exceeded.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json. type is always about:blank; code tells one problem from another, detail says what went wrong this time, and errors names the field at fault.

On this page