What are an API access token and a client secret?

Prev Next

Every call made to the LUSID API must be authorised by an API access token. To obtain an API access token, you require a client secret.

Note that a call made:

  • Directly to the REST API must supply a pre-generated API access token as a Bearer token in the Authorization HTTP header. See how to do this.

  • Indirectly using the LUSID SDK must provide credentials in a secrets file or as environment variables to helper classes that automate the process of obtaining an API access token and refreshing it upon expiry. Find out more about this

An API access token encapsulates the roles assigned to the calling user, and so determines the permissions granted to that user to perform operations within LUSID.

There are two types of API access token: