Generates a secure, time-limited link that allows customers to access their subscription management portal. This link provides customers with self-service capabilities to manage their subscriptions without requiring login credentials.
Key Features:
Token Security:
Customer Portal Access: Once customers click the link, they can:
Use Cases:
URL Structure:
The generated URL follows this pattern:
https://[store-domain]/[manage-subscription-path]?token=[encrypted-token]
Important Notes:
Authentication: Requires valid X-API-Key header
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/manage-subscription-link/{customerId} \
--header 'X-API-Key: <x-api-key>'{
"manageSubscriptionLink": "https://store.example.com/pages/manage-subscriptions?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaG9wIjoic3RvcmUuZXhhbXBsZS5jb20iLCJjdXN0b21lcklkIjo5ODc2NTQzMjEsImNyZWF0ZWRBdCI6MTcxMDUxMjQwMDAwMH0.dGhpcyBpcyBhIHNhbXBsZSB0b2tlbiBmb3IgZG9jdW1lbnRhdGlvbg",
"tokenExpirationTime": "2024-03-15T16:30:00.000Z",
"expiresInMinutes": 120,
"customerId": 987654321,
"portalUrl": "https://store.example.com/pages/manage-subscriptions"
}Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key for authentication
Customer ID to generate portal link for. Provide the numeric ID without the gid:// prefix
x >= 1API Key (Deprecated - Use X-API-Key header instead)
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/manage-subscription-link/{customerId} \
--header 'X-API-Key: <x-api-key>'{
"manageSubscriptionLink": "https://store.example.com/pages/manage-subscriptions?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaG9wIjoic3RvcmUuZXhhbXBsZS5jb20iLCJjdXN0b21lcklkIjo5ODc2NTQzMjEsImNyZWF0ZWRBdCI6MTcxMDUxMjQwMDAwMH0.dGhpcyBpcyBhIHNhbXBsZSB0b2tlbiBmb3IgZG9jdW1lbnRhdGlvbg",
"tokenExpirationTime": "2024-03-15T16:30:00.000Z",
"expiresInMinutes": 120,
"customerId": 987654321,
"portalUrl": "https://store.example.com/pages/manage-subscriptions"
}