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.
v2DeprecatedAccount Mapping

Get company mapping

Retrieve one Account Mapping record with enriched employee profiles for a partner workspace.

Retrieves one company mapping and all enriched employee profiles attached to it for the target partner workspace.

Use the top-level id returned by List company mappings as mapping_id. IDs are numeric integers and are specific to your environment.

Route

GET/api/v2/partner/workspaces/{partner_workspace_id}/company-mappings/{mapping_id}

Authentication

Use a partner master key. The target workspace is scoped by the URL path.

Authorization: Bearer $SILLAGE_API_KEY

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
mapping_idintegerId of the mapping returned by the list endpoint. Must be greater than or equal to 1.

Example request

curl "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/company-mappings/123" \
  -H "Authorization: Bearer $SILLAGE_API_KEY"

Success response

Status: 200 OK

{
  "id": 123,
  "request_date": "2026-06-15T10:00:00Z",
  "version": 2,
  "status": "complete",
  "company": {
    "id": 456,
    "name": "Acme",
    "domain": "acme.com"
  },
  "persona_id": null,
  "profiles": [
    {
      "id": 789,
      "linkedin_url": "https://www.linkedin.com/in/jane-doe",
      "avatar_url": "https://example.com/avatar.jpg",
      "linkedin_about": "Sales leader focused on enterprise growth.",
      "position": "Head of Sales",
      "first_name": "Jane",
      "last_name": "Doe",
      "email": "jane@acme.com",
      "phone_number": "+331****6789",
      "linkedin_headline": "Head of Sales at Acme",
      "location": {
        "city": "Paris",
        "region": "Île-de-France",
        "country": "France"
      }
    }
  ]
}

Response headers

HeaderDescription
X-Request-IdRequest UUID for debugging and support.
X-Response-TimeServer response time.

Response fields

FieldTypeDescription
idintegerId of the mapping.
request_datestring or nullMaterialization date.
versioninteger or nullMapping version, incremented on each rematerialization.
statusstring or nullEnrichment status of the mapping. in_progress while employee profiles are still being resolved, complete once all profiles have been found.
companyobject or nullCompany attached to the mapping.
persona_idinteger or nullId of the persona this mapping is attributed to. null means it applies to every persona.
profilesarrayEnriched employee profiles attached to the mapping.
profiles[].idintegerId of the profile.
profiles[].linkedin_urlstring or nullLinkedIn profile URL.
profiles[].avatar_urlstring or nullAvatar URL.
profiles[].linkedin_aboutstring or nullLinkedIn about section.
profiles[].positionstring or nullCurrent position.
profiles[].first_namestring or nullFirst name.
profiles[].last_namestring or nullLast name.
profiles[].emailstring or nullEmail address.
profiles[].phone_numberstring or nullPhone number.
profiles[].linkedin_headlinestring or nullLinkedIn headline.
profiles[].locationobject or nullLocation object.

Errors

StatusMeaning
401The API key is missing or invalid.
403Account Mapping is not enabled for the workspace.
404The mapping was not found or is not visible to the key.
429Too many requests.
500An unexpected server error occurred.

Error responses use RFC 9457 problem documents with Content-Type: application/problem+json:

{
  "type": "https://docs.getsillage.com/errors/forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "Account Mapping is not enabled for this workspace.",
  "instance": "/api/v2/partner/workspaces/ws_123/company-mappings/123"
}

On this page