post https://api.textunited.com/authentication/token
This endpoint allows users to obtain a JWT (JSON Web Token) for authenticating their requests to the TextUnited API.
Instructions
To test the request directly on the platform and get your JWT token:
- Scroll down to the Request Body section.
- Enter your "username" (your email address) and "password" in the provided input fields.
- 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 parameters. Enter your values in the input field(s) below for testing: