Skip to content

Subscriptions

Unidy allows managing subscriptions through a REST API. Currently, it's possible to:

  • Fetch a specific subscription by ID for users
  • Create new subscriptions for users
  • Update an existing subscription
  • Get all subscriptions for users
  • Create subscriptions in batches
  • Delete a subscription for users

See list of all available resources here

The request body must comply with JSON Schema

Example

Get an access token

  curl  \
    'https://<YOUR UNIDY DOMAIN>/api/v1/users/:USER_ID/subscriptions' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: bearer <YOUR ACCESS TOKEN>'