---
title: "Check Production Retention Realtime URL"
method: POST
path: "/v2/retention-onboarding/production/realtime-url/check"
tags: ["Retention Messaging Onboarding V2"]
---

# Check Production Retention Realtime URL

`POST /v2/retention-onboarding/production/realtime-url/check`

## Request

- Base URL: `https://api.superwall.com`
- URL: `https://api.superwall.com/v2/retention-onboarding/production/realtime-url/check`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `accounts_superwall_token`
  - HTTP bearer

## Request body

- object
  - `application_id` string, required

## Response `200`

Success

- object
  - `object` 'retention_realtime_url_result', required
  - `application_id` string, required
  - `environment` 'sandbox' | 'production', required: Apple environment: 'sandbox' for testing, 'production' for live
  - `expected_realtime_url` string, required
  - `realtime_url` string, nullable, required
  - `matches_expected` boolean, required

## Other responses

- `400`: The request did not match the expected schema | The request was invalid or malformed
- `401`: No API key was provided in the request | The API key does not have a valid format | The API key is invalid or has been revoked | An error occurred while validating the API key | The session cookie is invalid or expired
- `403`: The API key does not have permission to perform this action
- `404`: The requested resource was not found
- `429`: Too many requests have been made in a short period
- `500`: An unexpected error occurred on the server
- `502`: The upstream retention provider request failed

## Changes

- **2026-10-29** `778a11cd2c15`: 6 warning, 2 info
  - added the new `credentials_missing` enum value to the `anyOf[subschema #2]/code` response property for the response status `400`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `403`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `404`
  - added the new `credentials_missing` enum value to the `code/anyOf[subschema #1]/` response property for the response status `429`
  - …4 more
- **2026-09-09** `217c96dc9a29`: 25 breaking
  - the `code` response's property type changed from `string` to no type for status `403`
  - the `code` response's property type changed from `string` to no type for status `404`
  - the `code` response's property type changed from `string` to no type for status `429`
  - the `code` response's property type changed from `string` to no type for status `500`
  - …21 more
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/superwall/apis/superwall-api-v2/changes/v2/retention-onboarding/production/realtime-url/check/post.md)

---

[API](https://skmtc.dev/superwall/apis/superwall-api-v2.md) - [All operations](https://skmtc.dev/superwall/apis/superwall-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/superwall/apis/superwall-api-v2/revisions/523b4734dfab?raw)
