Create a contact
slicktext_create_contactWRITE: add a contact to the brand. By default the contact is created as 'not subscribed' and gets no text. Set opt_in_status='subscribed' ONLY for people who gave explicit permission to receive texts (SlickText has a zero-tolerance policy for unsolicited texts). force_double_opt_in=true makes SlickText SEND A REAL SMS to the number asking the person to confirm. Check slicktext_find_contact first to avoid duplicates. WARNING: SlickText workflows can trigger on this event (Contact Created / Contact Field Changed / Contact Added to List) and may immediately SEND REAL TEXTS or take other actions configured in the brand's workflows. POST /brands/{brand_id}/contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ||
| city | No | ||
| No | |||
| state | No | ||
| address | No | ||
| country | No | ||
| language | No | Primary language code, e.g. "en". | |
| timezone | No | Contact time zone (SlickText accepts these four). | |
| birthdate | No | Birthday, YYYY-MM-DD. | |
| last_name | No | ||
| first_name | No | ||
| custom_fields | No | Custom field values keyed by the field's internal_name (see slicktext_list_custom_fields), e.g. {"favorite_color": "blue"}. | |
| mobile_number | Yes | Mobile number (required), e.g. +16155553338 or (615) 555-3338. | |
| opt_in_status | No | Default 'not subscribed'. 'subscribed' only with the person's explicit consent. | |
| force_double_opt_in | No | true = SlickText texts the number a double opt-in confirmation (a real SMS). |