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:

post
Request Temporary Credentials

https://api.rightsline.com/v3/auth/temporary-credentials
Request
Response
Request
Headers
Content-Type
required
string
application/json
x-api-key
required
string
Your company's API key.
Body Parameters
accessKey
required
string
Your user's API access key.
secretKey
required
string
Your user's API secret key.
Response
200: OK
Credentials accepted.
{
"accessKey": "***********",
"secretKey": "***************************",
"sessionToken": "FQoDYXd//////====ONCXz6OZC6FIxoWO1CGxVkwnY6WT07ZdLgGkr5ZkRCnGpa5uiF5KKbgMMWyQjKIazeyarBvXleDQmJznO4tBKq3U709cY20lVkdzHwAJQ5HXWHVop6w6cRy8uyOFPZ9fPD79PJ0L9KUkSo9uIG8DUK7PRvs4eAtIQQFdW+j2eHx6sUlF====34098qojfaof",
"expiration": "2018-01-01T00:00:01+00:00"
}
401: Unauthorized
Invalid credentials.
‚Äč

Example Request

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

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