Skip to main content

Authentication

In the Booking API you need to authenticate every user so that s/he can book a ticket and access it thereafter.

This authentication is made by getting the JWT Token of a given userId.

-X GET \ 
-H "Content-Type: application/json" \
-H "Authorization: Bearer <DEVELOPER_TOKEN>" \
https://api-booking-new2.lineberty.net/v2/users/{userId}/login

There is no logout, the connection ends when the JWT Token expires.