utilsio.dev is currently in Alpha, please report any issues to hi@utilsio.dev. Happy building! 🚀
cURL
curl --request GET \ --url https://utilsio.dev/api/v1/subscription \ --header 'X-utilsio-Signature: <api-key>' \ --header 'X-utilsio-Timestamp: <x-utilsio-timestamp>'
200
withSubscription
{ "success": true, "subscription": { "id": "sub_abc123", "amountPerDay": "1.5", "createdAt": "2024-01-15T10:30:00.000Z" } }
Retrieves the active subscription for the authenticated device and specified application.
HMAC signature for request authentication
Unix timestamp for request signing
The application ID to retrieve the subscription for
Active subscription for the app, or null if none exists.
Whether the request was successful
The active subscription object, or null if none exists
Show child attributes
Error message if the request failed
Was this page helpful?