Skip to main content
POST
/
api
/
v1
/
auth
/
login
Login
curl --request POST \
  --url https://api.member.dev/api/v1/auth/login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '
{
  "email": "jsmith@example.com",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_in": 123,
  "refresh_token": "<string>",
  "token_type": "Bearer"
}

Authorizations

Authorization
string
header
required

Send platform JWTs, contact JWTs, or team API keys as Authorization: Bearer <token>.

Body

application/vnd.api+json
email
string<email>
required
password
string
required

Response

Successful Response

access_token
string
required
expires_in
integer
required
refresh_token
string
required
token_type
string
default:Bearer