Skip to main content
POST
/
api
/
login
Creates a user token.
curl --request POST \
  --url https://anyip.io/api/login \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "email": "<string>",
  "password": "<string>"
}
'
{
  "token": "<string>"
}

Authorizations

api-key
string
header
required

Value for the api-key header parameter.

Body

application/json

The login data

email
string
required
password
string
required

Response

200 - application/json

User token created

token
string
required