This section particularly addresses resources that are specific to an organization within a single tenant.

When interacting with such resources via the Sage Active Public API V2, it’s crucial to specify the organization context by including X-OrganizationId in the request header.

Required Headers for API Requests

When using Sage Active Public API V2 for resources specific to an organization, the following headers must be included in your HTTP requests:

Key Value
Authorization Bearer Current access Token How to find?
X-TenantId Current tenant id How to find?
X-OrganizationId Current organization Id How to find?
x-api-key Primary or secondary subscription key of your app How to find?

Important Note

Failure to include the X-OrganizationId header in your API requests for these resources will result in an error, as these are not shared resources but are specific to an organization.