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.
v2DeprecatedPersona

Update Persona

Partially update a persona for a partner workspace.

Partially updates one persona by its id, scoped to the workspace. Every field is optional, but at least one must be sent. Fields left out are unchanged; the others behave exactly like PUT .../persona (e.g. location must keep at least one value if sent). Updating one persona never touches another.

Update a persona

PATCH

/api/v2/partner/workspaces/{partner_workspace_id}/personas/{persona_id}

Path parameters

ParameterTypeDescription
partner_workspace_idstringOpaque workspace identifier from the partner system.
persona_idintegerID of the persona, as returned by this endpoint. This ID is specific to your environment.

Request body

Every field is optional, but at least one must be sent.

FieldTypeDescription
job_titlearray of stringsTarget job titles — at least one value, if sent.
exclude_job_titlearray of stringsJob titles to exclude.
locationarray of stringsTarget locations — at least one value, if sent.
headcountarray of stringsTarget company headcount ranges. Allowed values: 1-10, 11-50, 51-200, 201-500, 501-1,000, 1,001-5,000, 5,001-10,000, 10,001+.
industryarray of stringsTarget industries.
seniorityarray of stringsTarget seniority levels. Allowed values: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern.
additional_infostringFree-text additional instructions or context for the persona.
tagstringShort free-form label you can set to recognise this persona in your own systems. Two personas of the same workspace cannot share a tag — reusing one returns 409 Conflict.

Example request

curl -X PATCH "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/personas/1234" \
  -H "Authorization: Bearer $SILLAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "location": ["Germany"]
  }'

Example response

{
  "data": {
    "id": 1234
  }
}

The response returns the id of the updated persona.

Response fields

FieldTypeDescription
data.idintegerID of the updated persona. This ID is specific to your environment.
warningsstring[]Non-blocking notices about the persona you just submitted, for example a location that could not be resolved to a country. Omitted when there is nothing to report. Never blocks the write.

Errors

StatusMeaning
401The master key is missing or invalid.
403The master key is not authorized to access this resource.
404No workspace found for this partner_workspace_id, or no persona found for this persona_id.
409This tag is already used by another persona in this workspace.
422Invalid request body — no field provided, or an invalid value in a provided field. Also returned for an invalid persona_id.
429Rate limit exceeded.
500An unexpected server error occurred.

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

On this page