SMS follow-ups

Launch a reactivation

Changed on

Texts past contacts to win them back: everyone tagged tag, or the contact_ids given. message is the first text; it takes the same variables as an email, e.g. {{ customer.first_name | default: "there" }}, and an unknown one is refused with invalid_variables. One reminder follows three days later if they don't answer; any reply hands the conversation to the line's assistant. Marketing texts need each person's written consent (checkout or web form opt-in), so anyone without it, without a textable number, or opted out is skipped and counted in skipped. Read results with GET /v1/follow-ups/stats?launch_id=.

post/sms-follow-ups

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

SmsFollowUpRequest required
message, string required

The first text. {{first_name}} is replaced with each person's first name.

tag, string

Text every contact with this tag.

contact_ids, string[]

Text these contacts (con_...).

phone_number_id, string

Which business line sends the texts. Defaults to the first number with texting on.

Response

The launch: its id, how many were enrolled, and skips by reason

object required
object, string
launch_id, string
enrolled, integer
skipped, object

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision