# Subscription Types

Schema: #/components/schemas/subscription_type

Method: SCHEMA
Version: 2.7
Security: bearerAuth

## Schema fields:

  - `type` (string)
    The type of the object - subscription
    Example: subscription

  - `id` (string)
    The unique identifier representing the subscription type.
    Example: 123456

  - `state` (string)
    The state of the subscription type.
    Enum: "live", "draft", "archived"

  - `default_translation` (object)
    A translation object contains the localised details of a subscription type.

  - `default_translation.name` (string)
    The localised name of the subscription type.
    Example: Announcements

  - `default_translation.description` (string)
    The localised description of the subscription type.
    Example: Offers, product and feature announcements

  - `default_translation.locale` (string)
    The two character identifier for the language of the translation object.
    Example: en

  - `translations` (array)
    An array of translations objects with the localised version of the subscription type in each available locale within your translation settings.

  - `consent_type` (string)
    Describes the type of consent.
    Enum: "opt_out", "opt_in"

  - `content_types` (array)
    The message types that this subscription supports - can contain `email` or `sms_message`.

