Logo
2cloudnine Payroll API API Documentation

Refresh Token

POST {{url}}/services/oauth2/token

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status OK

{ "access_token": "ACCESS_TOKEN_GOES_HERE", "instance_url": "https://pozil-dev-ed.my.salesforce.com", "id": "https://login.salesforce.com/id/00D58000000arpqEAA/00558000000yFyDAAU", "token_type": "Bearer", "issued_at": "1609942615640", "signature": "SIGNATURE_GOES_HERE" }



Curl
curl -X POST 'url/services/oauth2/token' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode '%7B%22name%22%3D%3E%22grant_type%22%2C+%22value%22%3D%3E%22refresh_token%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22client_id%22%2C+%22value%22%3D%3E%22clientId%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22client_secret%22%2C+%22value%22%3D%3E%22clientSecret%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22refresh_token%22%2C+%22value%22%3D%3E%22refreshToken%22%2C+%22datatype%22%3D%3E%22string%22%7D'

ENDPOINTS