Refresh Token
POST
https://sandbox.swift.com/oauth2/v1/token
Used for obtaining JWT token based on clientid and secretkey.
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status
curl -X POST 'https://sandbox.swift.com/oauth2/v1/token' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/json' --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%22scope%22%2C+%22value%22%3D%3E%22swift.apitracker%22%2C+%22datatype%22%3D%3E%22string%22%7D&%7B%22name%22%3D%3E%22refresh_token%22%2C+%22value%22%3D%3E%22refresh_token%22%2C+%22datatype%22%3D%3E%22string%22%7D'