Create or refresh an access token

Creates or refreshes an OAuth access token.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json