Buyer Personas
v1

Update a Buyer Persona

Update an existing buyer persona. All attributes are optional; only the attributes you send are changed. Sending filters replaces every category, not just the one you name.

:::info Requires the buyer_personas:write OAuth2 scope. :::

patch/v1/buyer-personas/{id}

Path parameters

idstring required

The buyer persona ID.

Query parameters

account_idstring required

The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.

Request body

Example request

{
  "data": {
    "type": "buyer_persona",
    "attributes": {
      "name": "Sales Leaders",
      "filters": {
        "department": [
          {
            "search_value": "sales_department",
            "display_value": "Sales"
          }
        ],
        "seniority": [
          {
            "search_value": "top_management",
            "display_value": "Top management"
          }
        ],
        "job_title": [
          {
            "search_value": "revenue operations",
            "display_value": "revenue operations"
          }
        ],
        "location": [
          {
            "search_value": "DE",
            "type": "country_code",
            "display_value": "Germany"
          }
        ]
      }
    }
  }
}

Response

Success

Example response

{
  "data": {
    "type": "buyer_persona",
    "id": "7421",
    "attributes": {
      "name": "Sales Managers",
      "created_at": "2024-12-10T15:57:25Z",
      "filters": {
        "department": [
          {
            "search_value": "US",
            "display_value": "United States"
          }
        ],
        "job_title": [
          {
            "search_value": "US",
            "display_value": "United States"
          }
        ],
        "location": [
          {
            "search_value": "US",
            "type": "country_code",
            "display_value": "United States"
          }
        ],
        "seniority": [
          {
            "search_value": "US",
            "display_value": "United States"
          }
        ]
      }
    }
  },
  "meta": {
    "request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
  }
}

Changes

Changed in 3 of the 17 revisions of this API.12

    • removed the enum value unknown_department of the request property data/attributes/filters/department/items/search_value

      request-property-enum-value-removed

    • added the optional property data/attributes/filters/location/items/type to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added

Of the 17 revisions, 1 has no diff computed.