Skip to main content
Skip table of contents

Get all entitlements for an account

Request

A client application needs to know which content the signed-in account has entitlements for, so it can display content appropriately. For example:

  • Display a play button for content for which the account has entitlements.
  • Display a buy button for content for which the account does not have entitlements.

To get all the entitlements for the account the app is signed into, send a GET request to:

XML
https://<host>:<port>/rmg/v1/user/entitlements

Headers

  • authorization – bearer token that the client received at signon
  • nv-tenant-id – the tenant ID

Mandatory arguments

None

Other arguments

You can add query parameters for sorting, paging, limiting, and filtering the entitlements that are returned – see the RMG API documentation.

Response

A successful request returns an HTTP 200 status.

HTTP 200 successful response

JS
{
  "totalRecords": 0,
  "resourceSet": [
    {}
  ]
}

A bad request returns an HTTP 400 status.

If no entitlements were found, the request returns an HTTP 404 status.

See also

For full details of this API, see the RMG API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.