1. Home
  2. Docs
  3. API Connection Guidelines
  4. Authentication
  5. Get Token

Get Token

When the current access token expires, Scriptation will request a new access token using the refresh token given to Scriptation during authentication with the following request:
GET https://yoursite.com/your_api_path/getToken?client_id={client_id}

Parameters
client_id (string) The client id value assigned to Scriptation by your application.
The refresh token will be included into the HTTP header:
Authorization: bearer {refresh_token}

Response
Returns a 200 OK response code and the newly issued access token in the response body.

Example of the response.
Content-type: application/json

{
  "access_token": "12345"
}