curl --request POST \
--url https://api.geogen.io/v1/domain-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme",
"primaryEntity": "j5712abc34def56ghij7890klmn",
"entities": [
"j5712abc34def56ghij7890klmn",
"j97def56ghij7890klmn5712abc"
]
}
'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"primaryEntityUuid": "<string>",
"entityTrackingId": "<string>",
"entities": [
{
"entityId": "<string>",
"entityUuid": "<string>",
"name": "<string>",
"target": "<string>",
"faviconUrl": "<string>",
"isPrimary": true,
"inWorkspace": true
}
],
"createdAt": 123,
"updatedAt": 123
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"retryAfter": 123
}Domain Groups
Create Domain Group
Create a domain group that merges analytics for multiple entities representing the same brand.
Entity references in primaryEntity and entities may be either:
- an
entityIdreturned byGET /v1/entities(a tracking ID for an entity in this workspace), or - an entity UUID returned as
entityUuidbyGET /v1/competitors(any entity in the system).
At least 2 entities are required, and primaryEntity must be included in the entities array. Each entity may belong to at most one group at a time. Additional non-primary entities count toward your workspace entity limit.
POST
/
domain-groups
curl --request POST \
--url https://api.geogen.io/v1/domain-groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme",
"primaryEntity": "j5712abc34def56ghij7890klmn",
"entities": [
"j5712abc34def56ghij7890klmn",
"j97def56ghij7890klmn5712abc"
]
}
'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"primaryEntityUuid": "<string>",
"entityTrackingId": "<string>",
"entities": [
{
"entityId": "<string>",
"entityUuid": "<string>",
"name": "<string>",
"target": "<string>",
"faviconUrl": "<string>",
"isPrimary": true,
"inWorkspace": true
}
],
"createdAt": 123,
"updatedAt": 123
},
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>",
"retryAfter": 123
}Authorizations
Body
application/json

