v1

latestOpenAPI 3.1.02026-07-13201721.4 KB
Authentication

Authentication

Authentication: provide user/password and get a bearer token in return

  • username: Open Food Facts user_id (not email)
  • password: user password (clear text, but HTTPS encrypted)

token is returned, to be used in later requests with usual "Authorization: bearer token" headers

post/auth

Response

Successful Response

access_tokenstring required
token_typestring required