curl --request POST \
--url https://fulfillment.noyo.com/api/v1/groups/{group_id}/contacts \
--header 'Content-Type: application/json' \
--data '{
"carrier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "catherine.briggs@example.com",
"first_name": "Catherine",
"last_name": "Briggs",
"phone_number": "+15555551212",
"primary_contact": true,
"title": "Engineer",
"types": [
"company"
]
}'
{
"created": 1626281253,
"email": "davidsmith@testcorp.com",
"first_name": "David",
"group_id": "2613a221-d3c8-4c8a-86d5-e7e885fd1da9",
"id": "c2f5489d-36d1-4fb0-bf9f-105ad5dd0b3e",
"last_name": "Smith",
"modified": 1626281253,
"phone_number": "+14255551234",
"primary_contact": true,
"title": "Chief People Officer",
"types": [
"company",
"billing"
],
"version": "6ba43c6e-69f2-435f-a126-8595a798eb52"
}
Create a new contact for a group.
curl --request POST \
--url https://fulfillment.noyo.com/api/v1/groups/{group_id}/contacts \
--header 'Content-Type: application/json' \
--data '{
"carrier_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "catherine.briggs@example.com",
"first_name": "Catherine",
"last_name": "Briggs",
"phone_number": "+15555551212",
"primary_contact": true,
"title": "Engineer",
"types": [
"company"
]
}'
{
"created": 1626281253,
"email": "davidsmith@testcorp.com",
"first_name": "David",
"group_id": "2613a221-d3c8-4c8a-86d5-e7e885fd1da9",
"id": "c2f5489d-36d1-4fb0-bf9f-105ad5dd0b3e",
"last_name": "Smith",
"modified": 1626281253,
"phone_number": "+14255551234",
"primary_contact": true,
"title": "Chief People Officer",
"types": [
"company",
"billing"
],
"version": "6ba43c6e-69f2-435f-a126-8595a798eb52"
}
Successful Response - Returns the new Group Contact
The response is of type object
.
Was this page helpful?