curl --request POST \
--url https://api.comm.com/api/v1/contacts/upsert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"country": "<string>",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_normalized": "<string>",
"email_normalized": "<string>",
"email_is_good": 123,
"email_is_good_reason": 123,
"name": "<string>",
"state_id": 123,
"state_id_reason": 123,
"custom_fields": [
{
"name": "<string>",
"value": "<string>",
"type": "string"
}
],
"network_brand": "<string>",
"mcc": "<string>",
"mnc": "<string>",
"foreign_id": "<string>",
"raw_response": "<string>"
}
],
"webhook_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'