Skip to main content

Authenticate

Retrieve a session token in JWT format for a specific user.

Request#

POST https://api.demo.meetinglawyers.com/s2s/v1/users/authenticate (development)
POST https://api.meetinglawyers.com/s2s/v1/users/authenticate (production)

Headers#

NameValue
Api-KeyIntegration identifier provided by MeetingLawyers
Secret-KeySecurity key provided by MeetingLawyers to securize server-to-server communications
Content-Typeapplication/json
Acceptapplication/json

Request body#

Parameters#

NameRequiredTypeValue
user_idTrueStringYour user unique identifier

Example#

{
"user_id": "05415506H"
}

Response#

Parameters#

NameTypeValue
access_tokenStringsession token in jwt format
token_typeStringFixed to "bearer"
expires_inIntegerNumber of minutes of inactivity after session exires

Example#

{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOi...",
"token_type": "bearer",
"expires_in": 60
}