Requesting temporary credentials

Request temporary credentials to be used to authenticate API requests.

In accordance with AWS security recommendations, Rightsline utilizes expiring credentials to authenticate requests to our API. These temporary credentials are valid for 1 hour. After these credentials expire, you will need to request a new set of temporary credentials. These temporary credentials will be used to compute the Authentication signature for all other requests to the API.

To obtain temporary credentials, send a request to the following endpoint:

Request Temporary Credentials

POST https://ris.rightsline.com/v4/auth/temporary-credentials

Headers

NameTypeDescription

Content-Type

string

application/json

x-api-key

string

Your company's API key.

Request Body

NameTypeDescription

accessKey

string

Your user's API access key.

secretKey

string

Your user's API secret key.

{
    "accessKey": "***********",
    "secretKey": "***************************",
    "sessionToken": "FQoDYXd//////====ONCXz6OZC6FIxoWO1CGxVkwnY6WT07ZdLgGkr5ZkRCnGpa5uiF5KKbgMMWyQjKIazeyarBvXleDQmJznO4tBKq3U709cY20lVkdzHwAJQ5HXWHVop6w6cRy8uyOFPZ9fPD79PJ0L9KUkSo9uIG8DUK7PRvs4eAtIQQFdW+j2eHx6sUlF====34098qojfaof",
    "expiration": "2018-01-01T00:00:01+00:00"
}

Example Request

{
    "accessKey":"*****************",
    "secretKey":"***********************"
}

See Getting Started for instructions on obtaining your access and secret keys.

Last updated