Update a Buyer Persona
Changed onUpdate 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. :::
Request
- Base URLhttps://api.leadfeeder.com
- URLhttps://api.leadfeeder.com/v1/buyer-personas/{id}
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.leadfeeder.com/v1/oauth/authorizeToken URL: https://api.leadfeeder.com/v1/oauth/token scopes: buyer_personas:write
Path parameters
The buyer persona ID.
Query parameters
The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
Request body
Example request
{
"data": {
"attributes": {
"filters": {
"department": [
{
"display_value": "Sales",
"search_value": "sales_department"
}
],
"job_title": [
{
"display_value": "revenue operations",
"search_value": "revenue operations"
}
],
"location": [
{
"display_value": "Germany",
"search_value": "DE",
"type": "country_code"
}
],
"seniority": [
{
"display_value": "Top management",
"search_value": "top_management"
}
]
},
"name": "Sales Leaders"
},
"type": "buyer_persona"
}
}Response
Success
Example response
{
"data": {
"attributes": {
"created_at": "2024-12-10T15:57:25Z",
"filters": {
"department": [
{
"display_value": "United States",
"search_value": "US"
}
],
"job_title": [
{
"display_value": "United States",
"search_value": "US"
}
],
"location": [
{
"display_value": "United States",
"search_value": "US",
"type": "country_code"
}
],
"seniority": [
{
"display_value": "United States",
"search_value": "US"
}
]
},
"name": "Sales Managers"
},
"id": "7421",
"type": "buyer_persona"
},
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
removed the enum value
unknown_departmentof the request property/////
- breaking