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.
v2DeprecatedContent Requests

Query Content Requests

List content requests for a partner workspace using a JSON request body.

Returns a paginated list of content requests for the workspace, newest first. Behaves exactly like List content requests, but takes its filters as a JSON body instead of query-string parameters — useful when a filter value (such as several company_domain values) is easier to send as a native array. By default, requests in every stage except completed are returned.

Query content requests

POST/api/v2/partner/workspaces/{partner_workspace_id}/content-requests/query

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.

Request body

All fields are optional.

FieldTypeDefaultDescription
pageinteger1Page number. Must be greater than or equal to 1.
page_sizeinteger25Number of items per page. Must be between 1 and 100.
date_fromstring (date-time)Return requests created on or after this date (ISO 8601).
date_tostring (date-time)Return requests created on or before this date (ISO 8601).
typestringFilter by request type: account_mapping or top_account_content.
stagearray of stringall except completedFilter by stage. Native JSON array.
company_idintegerFilter by company id. Takes priority over the identifier fields below.
company_domainarray of stringFilter by company domain. Native JSON array, OR filtering across multiple companies.
company_linkedin_handlearray of stringFilter by company LinkedIn handle. Native JSON array.
company_linkedin_urlarray of stringFilter by company LinkedIn URL. Native JSON array.

An unresolved company_domain, company_linkedin_handle, or company_linkedin_url never returns a 404 — it returns an empty page ("data": []).

Example request

curl -X POST "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/content-requests/query" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page": 1, "page_size": 25, "type": "top_account_content"}'

Example response

{
  "data": [
    {
      "id": 7001,
      "type": "top_account_content",
      "stage": "completed",
      "created_at": "2026-06-12T09:00:00.000Z",
      "updated_at": "2026-06-12T10:00:00.000Z",
      "company": {
        "id": 456,
        "name": "Acme Inc",
        "domain": "acme.com",
        "linkedin_url": "https://www.linkedin.com/company/acme"
      },
      "inputs": {}
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "total": 1
    },
    "resolved_companies": []
  }
}

Response fields

FieldTypeDescription
idintegerId of the content request.
typestringRequest type: account_mapping or top_account_content.
stagestringCurrent processing stage. See Stages.
created_atstringWhen the request was created (ISO 8601).
updated_atstringWhen the request was last updated (ISO 8601).
companyobject or nullThe associated company, if any.
company.idintegerId of the company.
company.namestring or nullCompany name.
company.domainstring or nullCompany domain.
company.linkedin_urlstring or nullCompany LinkedIn URL.
inputsanyRequest-type-specific input payload.
meta.pagination.pageintegerCurrent page number.
meta.pagination.page_sizeintegerItems per page.
meta.pagination.page_countintegerTotal number of pages.
meta.pagination.totalintegerTotal number of matching content requests.
meta.resolved_companiesarrayOne entry per company identifier from the request body that resolved to a known company.

Errors

StatusMeaning
400Invalid request body.
401The master key is missing or invalid.
403Top account content requests is not enabled for this workspace.
404No workspace found for this partner_workspace_id.
429Too many requests.
500An unexpected server error occurred.

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

On this page