Ahoy there,
I am hoping to add SMS numbers and consent details via the API. The following payload adds the SMS number to corresponding email and the "SMS status" appears as "No permission set". I am expecting the "SMS status" to be set to "Opt-in". What is supposed to happen here? How do I opt-in the contact to SMS messages via the API or import from a spreadsheet?
Here is the URL
BASE_URL = "https://api.cc.email/v3"
response = requests.post(f"{BASE_URL}/activities/contacts_json_import", headers=HEADERS, json=payload)
Here is the payload
{
"email": "<email_removed>",
"tag_ids": [
"tag_removed"
],
"sms_channel": {
"sms_number": "<phone_number_removed",
"sms_status": "explicit",
"sms_permission_to_send": "explicit",
"sms_consent_date": "2026-04-08"
}
}