Phone Suppressions

Add a do-not-call entry

Changed on

Adds a number to the account's internal do-not-call list. A suppressed number is never called, overriding any consent.

post/phone-suppressions

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

PhoneSuppressionRequest required
e164, string
reason, 'opt_out' | 'dnc_registry' | 'complaint' | 'manual' | 'bounce'
note, string nullable

Response

Number suppressed

PhoneSuppression required
id, string required
object, string required
e164, string required
reason, 'opt_out' | 'dnc_registry' | 'complaint' | 'manual' | 'bounce' required
note, string nullable required
created_at, string date-time required
updated_at, string date-time 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