Creating a Group Owner
Using the POST method with the Group Owners will create a new Group Owner
POST https://edgeapi.marchex.io/marketingedge/v5/api/groupowners
The following sample request can be used to create a Group Owner
curl -H "x-organization-token: {authorization_token}" \
-H "subscription-key: {subscription_key}" \
-X POST \
"https://edgeapi.marchex.io/marketingedge/v5/api/groupowners" \
-d '{
"name": "Marchex",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "536f933b-0ebc-4643-9b00-f99a22e8cb5e",
"phone": "1231231234",
"ext": "+1",
"fax": "1231234321",
"email": "[email protected]",
"contact_name": "Jerry Smith",
"custom_text": "Custom Text 1",
"custom_text2": "Custom Text 2",
"custom_flag": true
}'
If the request is handled successfully, the following response will be returned:
{
"id": 1,
"name": "Marchex",
"status": "active",
"address": "2645 Skymark Ave",
"suite": "202",
"city": "Seattle",
"state": "WA",
"zip": "98101",
"client_id": "96515f9c-4f6b-4955-9fa9-9d9393540dc4",
"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.8991278Z",
"modified_datetime": "2020-06-10T17:59:42.899Z"
}
Updated almost 4 years ago