post https://api.textunited.com/authentication/RefreshToken
This endpoint allows users to obtain a new access token by refreshing an expired JSON Web Token (access token).
Instructions
To test the request directly on the platform and obtain a new access token:
- Scroll down to the Request Body section.
- Enter your existing JWT refresh token in the input field named "token". (To get your refresh token, make a request to the Obtain JWT endpoint, and copy your refresh token from the response.)
- Click the "Try It!" button at the top-right of your screen to initiate the request and view your response.
Note
To see a sample request and response, click the "EXAMPLES" dropdown at the top-right of your screen.
Response Payload
The following fields are returned after a successful request:
Field | Type | Description |
---|---|---|
AccessToken | String | A token that represents the authorization granted to the client. Used for authenticating subsequent requests. |
RefreshToken | String | A token that can be used to obtain a renewed accessToken . Useful for handling token expiration. |
Request Body
The request should include the following parameter. Enter your value in the input field below for testing: