Skip to main content
POST
/
v1
/
users
/
id
Get User ID
curl --request POST \
  --url https://api.warmyourx.com/v1/users/id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'username=<string>'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded
username
string
required

X username without the leading @.

Response

Successful Response

{key}
string