Gather these items first so your first request works.
Credentials You Need from Cuseum
Value | What it is |
User email and password | A Cuseum user with access to the target museum. |
| The ID of the museum the user belongs to. |
| The UID of the OAuth application provided by Cuseum. |
| The secret of the OAuth application provided by Cuseum. |
Scopes | The permissions enabled for your integration. |
To request any of these, or to ask about pricing, contact [email protected].
Request Only the Scopes You Need
When you request a token you list the scopes (permissions) you want, separated by spaces. Ask for the smallest set that matches the operations you will call:
Operation | Scope to request |
Create an external user |
|
List external users |
|
List pass books |
|
The OAuth application must have the scopes enabled. If your integration calls more than one endpoint family, include every matching scope. The reference examples also include the public scope.
Keep Secrets Safe
Keep the
client_secret, the user password, access tokens and refresh tokens confidential.Store them in a secret manager or protected environment variables. Do not commit them to source control.
Never include them in support tickets or logs.
Use HTTPS for every request.
Send tokens in the
Authorizationheader, never in a URL.Treat pass download URLs as sensitive, even when they are called public or preview URLs.
Next Step
Continue with Authenticate: Generate an Access Token.
