curl --request POST \
--url https://app.octavehq.com/api/v2/segment/create \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"name": "Enterprise Technology Companies",
"description": "Companies with 500+ employees in the technology sector",
"data": {},
"primaryOfferingOId": "o_123456",
"linkingStrategy": {
"mode": "ALL"
}
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"unrecognized": true,
"rejected": true,
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"fitExplanation": "<string>",
"firmographics": {},
"keyPriorities": [
"<string>"
],
"keyConsiderations": [
"<string>"
],
"uniqueApproach": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}
}Create a new market segment
curl --request POST \
--url https://app.octavehq.com/api/v2/segment/create \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"name": "Enterprise Technology Companies",
"description": "Companies with 500+ employees in the technology sector",
"data": {},
"primaryOfferingOId": "o_123456",
"linkingStrategy": {
"mode": "ALL"
}
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": {
"oId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"name": "<string>",
"internalName": "<string>",
"description": "<string>",
"unrecognized": true,
"rejected": true,
"deletedAt": "<string>",
"archivedAt": "<string>",
"active": true,
"data": {
"fitExplanation": "<string>",
"firmographics": {},
"keyPriorities": [
"<string>"
],
"keyConsiderations": [
"<string>"
],
"uniqueApproach": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"user": {
"oId": "<string>",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "<string>"
}
}
}Segment creation data
The name of the segment
1"Enterprise Technology Companies"
The description of the segment
"Companies with 500+ employees in the technology sector"
Additional segment data
Primary Offering to use as context when generating personas. If not provided, the primary company attached to the Workspace will be used.
"o_123456"
Segment created successfully
Show child attributes
Show child attributes
Show child attributes
The question to ask to qualify the entity
The rationale for the question as to why it helps qualify
The fit type of the question
GOOD, BAD "GOOD"
The weight of the question
LOW, MEDIUM, HIGH, INSTANT_QUALIFIER, INSTANT_DISQUALIFIER "MEDIUM"
The date and time the question was archived