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:

  1. Scroll down to the Request Body section.
  2. Enter your "username" (your email address) and "password" in the provided input fields.
  3. 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:

FieldTypeDescription
AccessTokenStringA token that represents the authorization granted to the client. Used for authenticating subsequent requests.
RefreshTokenStringA 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:

Language
Click Try It! to start a request and see the response here!