The Juo Admin API provides programmatic access to manage subscription resources. This RESTful API allows administrators to interact with subscriptions, customers, and other Juo entities.
All API requests must include an API key in the X-Juo-Admin-Api-Key header. Tokens can be generated in the Juo admin interface. Keep your API keys secure and never share them.
The API uses cursor-based pagination to handle large result sets. Navigation links are provided in the Link response header, containing URLs for the next and previous pages.
Results can be sorted using the sort query parameter. Multiple sort criteria can be combined using commas.Sortable fields are the same as the filterable fields on a resource, there is a special rank field that can be always used whenever search query includes a term not bound to a specific field.
# Sort by creation date descending/admin/v1/subscriptions?sort=createdAt:desc# Sort by status ascending and then by creation date descending/admin/v1/subscriptions?sort=status:asc,createdAt:desc
It lets you to form advanced logical queries, some examples below:
# Find all active subscriptions which contain a term "Blue"status:active AND Blue# The same as above but with quotesstatus:'active' AND 'Blue'# Find failed subscriptions with PayPal instrument along with all cancelled subscriptions after 2024(status:failed AND instrument:paypal) OR (status:cancelled AND cancelledAt:>='2024-01-01')# Find all but active subscriptions- status:active
Below you can find the meaning of each available operator:
The API implements a token bucket rate-limiting strategy to ensure fair usage. Each API token has a bucket that fills at a constant rate. API calls consume tokens from the bucket. When the bucket is empty, requests will be rejected until it refills.Rate limit information is included in the response headers:
X-RateLimit-Limit: 1000 # How many requests the client can makeX-RateLimit-Remaining: 999 # How many requests remain to the client in the time windowX-RateLimit-Reset: 60 # How many seconds must pass before the rate limit resets