{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spryng/json-schema/spryng-post-v2-optout-request-schema.json",
  "title": "PostV2OptoutRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/spryng-openapi-generated.yml#/components/schemas/PostV2OptoutRequest",
  "type": "object",
  "properties": {
    "accountReference": {
      "type": "string",
      "description": "Your unique customer account code. Found in the My Account area of your Spryng Portal"
    },
    "channel": {
      "type": "string",
      "description": "The message channel for the opt out request. Accepted values: SMS | RCS"
    },
    "value": {
      "type": "string",
      "description": "The opted out recipient mobile number or email address"
    }
  },
  "required": [
    "accountReference",
    "channel",
    "value"
  ]
}