Skip to content
Hydda One API
Esc
↑↓navigate↵open⌘Jpreview
On this page

Roles

Which role a token needs for each part of the API, where the role must be granted, and who grants it.

A token can do only what its roles allow. Each role is granted in one operational context. It holds there and in every context that belongs to it.

Role Granted at Opens
Booking Integration A business context Booking: sell that business context’s bookable resources. Only an organization’s own Application can hold it.
Billing Integration The organization Billing: the invoice queues and outcome reports.
Signing Integration A business context Signing: the signing queues and outcome reports.

Who grants a role

Caller How it gets its role
An Application An organization administrator grants it, under Settings, then Applications, on the application’s Roles.
An integration of your own The same. The integration’s row in the admin console links to its application with Assign the role to this application.
A connector from Hydda Hydda One grants it when an administrator saves the connector’s settings, at the organization or business context the settings are for. Removing the settings removes the role.

For a role granted at a business context, the administrator picks the business context. Grant it once for each business context the caller works in.

Routes that need no role

  • GET /v1/operational-contexts lists the contexts the token’s roles reach. A token with no roles gets an empty list.
  • /v1/integrations answers an integration about its own configurations only.

A token with no roles is still issued. Every route that needs a role then answers 403.

Was this page helpful?