Set contact SMS consent (opt-in/opt-out)

post/sms/consent

Request

  • Base URL: https://sendinel.ai/api/v1
  • URL: https://sendinel.ai/api/v1/sms/consent
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://sendinel.ai/oauth/authorize, token URL https://sendinel.ai/oauth/token)

Request body

contact_idstring uuid required
status'opt_in' | 'opt_out'
sourcestring
consent_textstring nullable

Response

Consent saved

Changes

No recorded changes to this operation across all 1 revision of this API.