Retrieving Group Owners
Retrieving All Group Owners
Using the GET method, you can retrieve your Group Owners.
- Retrieve All - GEThttps://edgeapi.marchex.io/marketingedge/v5/api/groupowners
The following sample request can be used to retrieve all Group Owners. Note that the results of this request use pagination as defined in the Paging Results section of this documentation
curl -H "x-organization-token: {authorization_token}" \
-H "subscription-key: {subscription_key}" \
-X GET \
"https://edgeapi.marchex.io/marketingedge/v5/api/groupowners"If the request is handled successfully, the following response will be returned:
{
"paging": {
"pageNumber": 1,
"pageSize": 10,
"total": 1
},
"results": [
{
"id": 1,
"name": "Marchex",
"status": "active",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "5440cc54-98bc-47df-8766-e9b2fa5de7c3",
"phone": "1231231234",
"ext": "+1",
"fax": "1231234321",
"email": "[email protected]",
"contact_name": "",
"custom_text": "Custom Text 1",
"custom_text2": "Custom Text 2",
"custom_flag": true,
"reactivate": false,
"created_datetime": "2020-06-10T17:59:42.9138441Z",
"modified_datetime": "2020-06-10T17:59:42.913Z"
}
...
]
}Retrieving a Single Group Owner
Using the GET method, you can retrieve an individual Group Owner.
- Retrieve Individual - GEThttps://edgepi.marchex.io/marketingedge/v5/api/groupowners/{groupownerId}
The following sample request can be used to retrieve a single Group Owner:
curl -H "x-organization-token: {authorization_token}" \
-H "subscription-key: {subscription_key}" \
-X GET \
"https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/11623258"If the request is handled successfully, the following response will be returned:
{
"paging": {
"pageNumber": 1,
"pageSize": 10,
"total": 1
},
"results": [
{
"id": 1,
"name": "Marchex",
"status": "active",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "5440cc54-98bc-47df-8766-e9b2fa5de7c3",
"phone": "1231231234",
"ext": "+1",
"fax": "1231234321",
"email": "[email protected]",
"contact_name": "",
"custom_text": "Custom Text 1",
"custom_text2": "Custom Text 2",
"custom_flag": true,
"reactivate": false,
"created_datetime": "2020-06-10T17:59:42.9138441Z",
"modified_datetime": "2020-06-10T17:59:42.913Z"
}
]
}Updated 9 days ago