Rest API
  • Odoo REST API: Version 1.0 documentation
  • Connection
    • Configuration
    • Demo
    • Logging In
      • How you can do
        • Odoo Version Information
        • Oauth1 Authentication
        • OAuth2 Authentication
        • Basic Authentication
  • Calling Methods
    • Check Access Rights
    • List Records
      • Pagination
    • Count Records
    • Read Records
      • Read Single Record
      • Read List Records
      • Read Filter Records
    • Listing Record Fields
    • Create Records
    • Update Records
      • Update Single Record
      • Update List Records
    • Delete Records
      • Delete Single Record
      • Delete List Records
  • Report Printing
    • Print Single Report
    • Print List Reports
  • Inspection and Introspection
    • ir.model
    • ir.model.fields
Powered by GitBook
On this page
  1. Connection

Logging In

Odoo requires users of the REST API to be authenticated before they can query most data

PreviousDemoNextHow you can do

Last updated 1 year ago

The restapi/1.0/common endpoint provides meta-calls that don’t require authentication, such as the authentication itself or fetching version information. To verify if the connection information is correct before trying to authenticate, the simplest call is to ask for the server’s version through the restapi/1.0/common/version endpoint. The authentication itself is done through the OAuth 1.0 restapi/1.0/common/oauth1 or OAuth 2.0 restapi/1.0/common/oauth2 or restapi/1.0/common/basic endpoints.

How you can do

    • 1.

    • 2.

    • 3.

    • 1.

    • 2.

    • 1.

Odoo Version Information
OAuth1 Authentication
OAuth2 Authentication
Basic Authentication
Token Credentials Request
Temporary Credential Request
Resource Owner Authorization
Token Credentials Request
Resource Owner Authorization
Token Credentials Request