Skip to main content
POST
cURL

Body

application/json
username
string
required

WordPress username or email

Example:

"your-username"

password
string
required

User's password

Example:

"your-password"

Response

Authentication successful

token
string

JWT access token

user_id
integer

WordPress user ID

user_email
string

User's email address

user_nicename
string

User's URL-friendly name

user_display_name
string

User's display name

refresh_token
string

Token used to obtain new access tokens