SMS follow-ups

Cancel an SMS follow-up

Changed on

Stops texting this person: its status becomes canceled, and a text still held for later (such as one waiting for their 8am) is canceled too, so nothing more is sent. Canceling one that already ended changes nothing. Their replies are still answered.

post/sms-follow-ups/{id}/cancel

Request

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

Path parameters

id, string required

The resource's ID, as returned in its id field

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.

Response

The canceled follow-up

SmsFollowUp required
id, string required
object, string required
reason, 'lead' | 'reactivation' required
status, 'active' | 'replied' | 'booked' | 'opted_out' | 'canceled' | 'failed' | 'completed' required
step, integer required
next_at, string date-time nullable required
message, string nullable required
launch_id, string nullable required
error, string nullable required
ended_at, string date-time nullable required
created_at, string date-time required
updated_at, string date-time required
counterpart, string required
contact, string nullable required

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