Superwall
Version
This integration utilizes the Superwall Superwall API.
Base URL
The base URL used for all Superwall API endpoints:https://api.superwall.com
Authentication & Authorization
The DataGrail Superwall integration connects using token authentication which requires an Organization API Key and Application ID.
Scopes
The Superwall integration requires specific scopes that must be granted in order to function for a given capability.
| Scope | Base | Access | Deletion |
|---|---|---|---|
Users Read | ✅ | ✅ | ✅ |
Users Write | ✅ |
Endpoints Utilized
DataGrail uses the following endpoints to authorize and test the connection:
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| GET | /v2/users/filter-properties | Validate the connection is successful and, if Email Properties are configured, that each property exists. |
Limits
Limits in Superwall are calculated using the leaky
bucket algorithm. All requests that are made after rate limits have been
exceeded are throttled and an HTTP 429 Too Many Requests error is returned.
Requests succeed again after enough requests have emptied out of the bucket.
- DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
- DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).
Capabilities
Access
DataGrail's Superwall integration provides Synchronous Access capabilities for the following supported identifier categories: Email and Service ID.Data Interactions
For Access requests, DataGrail will take the following actions:
- Query for users whose App User ID matches a Service ID in the request, or whose email properties match an Email in the request. All identifiers are matched in a single query.
- Return the matching users and their synced attributes.
The Superwall API matches users whose App User ID matches any provided Service ID, or whose email properties match any provided Email. DataGrail sends all identifiers in a single query.
DataGrail searches the user properties listed in the Email Properties field of the integration, which accepts comma-separated property keys. If the field is empty, DataGrail only searches the email property.
Endpoints Utilized
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| POST | /v2/users/query | Search for users whose App User ID or configured email properties match the identifiers provided in the request. |
Deletion
DataGrail's Superwall integration provides Synchronous Deletion capabilities for the following supported identifier categories: Email and Service ID.Data Interactions
Superwall has no endpoint to erase a user. For Deletion requests, DataGrail will take the following actions:
- List the attributes set on each user identified during access.
- Set the value of every attribute to empty, which clears the user's data. The user's App User ID remains in Superwall.
The Superwall API does not offer an endpoint to erase a user. Access requests return the user's synced attributes, and Deletion requests clear those attributes.
Endpoints Utilized
| Method | Endpoint | Purpose | Docs |
|---|---|---|---|
| GET | /v3/users/APP_USER_ID/attributes | List the attributes set on the user. | |
| POST | /v3/users/APP_USER_ID/attributes | Clear the user's attributes. |
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.