Authentification

Pour accĂ©der Ă  l'API de La Vitrine, une authentification par identifiants/mot de passe est requise. Ces accĂšs ne sont pas disponibles automatiquement et doivent ĂȘtre créés spĂ©cifiquement pour chaque partenaire par notre Ă©quipe technique. Tout partenaire souhaitant intĂ©grer nos donnĂ©es culturelles doit donc nous contacter au prĂ©alable pour obtenir ses identifiants personnalisĂ©s. Cette dĂ©marche nous permet d'assurer un accĂšs sĂ©curisĂ© Ă  notre base de donnĂ©es et d'offrir un accompagnement personnalisĂ© Ă  chaque nouveau partenaire.

Authenticate and get JWT token

post
/login

Authenticates a user using username and password, returning a JWT token for subsequent API requests.

Body
usernamestringRequired

User's login username

Example: OseMedia
passwordstring · passwordRequired

User's password

Example: ********
Responses
chevron-right
200

Successfully authenticated

application/json
tokenstringOptional

JWT token to be used for subsequent API calls

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Ik9zZU1lZGlhIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
post
/login

Last updated