Personas
Create and update personas with complete curl request examples.
Collection path: events/{event_id}/personas
| Input | Type | POST | PATCH | Notes |
|---|---|---|---|---|
name |
Scalar string | Required by the model | Optional | Event-specific persona name. |
position |
Scalar number or null |
Optional | Optional | Display order. |
POST a persona
curl --request POST \
--url "${BRELLA_API_BASE_URL}/api/core/organizations/${BRELLA_ORGANIZATION_ID}/events/${BRELLA_EVENT_ID}/personas" \
--header "Accept: application/vnd.brella.v4+json" \
--header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "Buyer",
"position": 10
}'
The response type is persona. Useful write-response fields are name, position, and updated_at.
PATCH a persona
curl --request PATCH \
--url "${BRELLA_API_BASE_URL}/api/core/organizations/${BRELLA_ORGANIZATION_ID}/events/${BRELLA_EVENT_ID}/personas/81" \
--header "Accept: application/vnd.brella.v4+json" \
--header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "Enterprise buyer",
"position": 5
}'