Contacts
The shoppers you call, with their consent and opt-outs.
Add or update a contact
PUT/contacts
By phone number: a new number is added (201); a known one gets what you send (fields are merged). Send consent to record the shopper’s consent at the same time.
Needs the contacts scope.
Body
phonestringrequirednamestringlanguagestring or nullOne of
hi-INen-INta-INte-INmr-INgu-INbn-INkn-INml-INpa-INod-INfieldsmap of stringMerged into the contact’s fields.
consentobjectShow 4 fields insideHide the fields inside
scopestringrequiredOne of
servicepromotionalgivenAtstringrequirednotestringrequiredsourcestringrequiredOne of
formcheckoutimportverbalother
Returns 200
Done.
okbooleanrequiredOne of
truecontactContactrequiredShow 9 fields insideHide the fields inside
idstringrequiredphonestringrequirednamestringrequiredlanguagestring or nullrequiredfieldsmap of stringrequiredisOptedOutbooleanrequiredconsentslist of ConsentrequiredShow 7 fields insideHide the fields inside
idstringrequiredscopestringrequiredOne of
servicepromotionalsourcestringrequiredgivenAtstringrequiredISO 8601 time.
notestringrequiredexpiresAtstring or nullrequiredISO 8601 time.
isStandingbooleanrequired
createdAtstringrequiredISO 8601 time.
updatedAtstringrequiredISO 8601 time.
isNewbooleanrequiredWhether the number was added just now.
Request
curl -X PUT https://app.rowcall.ai/v1/contacts \
-H "Authorization: Bearer $ROWCALL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "98123 45678",
"name": "Asha Rao",
"language": "hi-IN",
"fields": {
"city": "Pune"
},
"consent": {
"scope": "service",
"source": "checkout",
"givenAt": "2026-10-13T09:20:00+05:30",
"note": "Ticked \"Call me about this order\" at checkout."
}
}'{
"ok": true,
"contact": {
"id": "con_m5n7b9v1c3x5z7l9k1j3",
"phone": "+919812345678",
"name": "Asha Rao",
"language": "hi-IN",
"fields": {
"city": "Pune"
},
"isOptedOut": false,
"consents": [
{
"id": "cns_h2g4f6d8s0a2p4o6i8u0",
"scope": "service",
"source": "checkout",
"givenAt": "2026-10-13T03:50:00.000Z",
"note": "Ticked \"Call me about this order\" at checkout.",
"expiresAt": "2026-10-20T03:50:00.000Z",
"isStanding": true
}
],
"createdAt": "2026-09-28T11:04:00.000Z",
"updatedAt": "2026-10-13T09:20:00.000Z"
},
"isNew": false
}