Retention Configurations V2

Retrieve Retention Configuration

Retrieves a retention configuration by ID. Requires retention_messages:read scope.

get/v2/retention-configurations/{id}

Path parameters

idstring required

Retention configuration ID

Retention configuration ID

Response

Success

idstring required

Unique identifier

object'retention_configuration' required

Object type, always retention_configuration

application_idstring required

Application ID

configuration_group_idinteger nullable required

an integer

namestring required

Display name of the configuration

environment'sandbox' | 'production' required

Environment this configuration applies to

product_idstring required

Apple product ID

localestring required

Locale code for this configuration

type'message' | 'alternate_product' | 'promotional_offer' required

Type of retention offer: message, alternate_product, or promotional_offer

retention_message_idinteger required

ID of the linked retention message

alternate_product_idstring nullable required

Alternate product ID (for alternate_product type)

offer_identifierstring nullable required

Promotional offer identifier (for promotional_offer type)

offer_product_idstring nullable required

Product ID the offer applies to (for promotional_offer type)

created_atstring required

ISO 8601 timestamp

updated_atstring required

ISO 8601 timestamp

Changes

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