List all subscriptions for this user
GET
/subscriptionsAuthorization
AuthorizationBearer token (JWT) · headerrequiredResponses
200Subscriptions found
Array of
subscriptionResponsesubscriptionResponse401Missing authentication
messagestringrequirederrorsopenApiErrorItem[]requiredmin items 1
Show propertiesHide properties
Array of
openApiErrorItemopenApiErrorItemtracestring | nullrequireddeprecatedAlways null. Deprecated; may be removed in a future release.
403Invalid authorization
messagestringrequirederrorsopenApiErrorItem[]requiredmin items 1
Show propertiesHide properties
Array of
openApiErrorItemopenApiErrorItemtracestring | nullrequireddeprecatedAlways null. Deprecated; may be removed in a future release.
500Internal server error
messagestringrequiredtracestring | nullrequireddeprecatedAlways null. Deprecated; may be removed in a future release.
Request
curl -X GET "/subscriptions" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/subscriptions", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});Response
[
null
]{
"message": "request.headers should have required property 'Authorization'",
"errors": [
null
],
"trace": null
}{
"message": "user is missing required permission",
"errors": [
null
],
"trace": null
}{
"message": "Internal Server Error",
"trace": null
}