GET api/odoo/token?username={username}&password={password}

Generates a JSON Web Token (JWT) for user authentication.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

The username of the user requesting the token.

string

Required

password

The password of the user requesting the token.

string

Required

Body Parameters

None.

Response Information

Resource Description

A string representing the signed JWT.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.