Segments
Attach a brand to a segment
Attaches the given brand to the segment. The endpoint is idempotent. Both the brand and the segment must belong to the active project, and the brand must be classified as own or competitor.
POST
/api/v1/brands/{brand}/segments/{segment}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
| brand | integer | Required | The numeric ID of the brand. |
| segment | integer | Required | The numeric ID of the segment. |
Response
The brand object
| Field | Type | Description |
|---|---|---|
| id | integer | The unique ID of the brand. |
| project_id | integer | The ID of the project the brand belongs to. |
| display_name | string | The canonical display name of the brand. |
| aliases | string[] | Alternative names that the brand is referred to by. |
| domains | string[] | The web domains associated with the brand. |
| kind | string | The brand's classification. One of |
| created_at | datetime | When the brand was created. |
| updated_at | datetime | When the brand was last updated. |