Create or refresh an access token

Form Data
string

The client_id of your Developer App. This can be found by visting https://app.oysterhr.com/developer

string

The secret of your Developer App.

string

First you need to request an authorization_code. Afterwards you can request a refresh_token.

string

The code is required when requesting an authorization_code.

string

The redirect_uri is required when requesting an authorization_code.

string

A refresh_token is required when requesting a refresh_token. A refresh_token will be provided when requesting an authorization_code

Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json