APIToken
Specifies the API token or password used to authenticate the user.
Data Type
string
Default Value
""
Remarks
This property accepts either an API token or a password, depending on the Odoo version in use:
- For Odoo 14 and later, authentication via API token is supported and recommended.
- For Odoo 13 and earlier, you may need to enter your Odoo account password in this field instead.
You can generate API tokens in the Odoo web interface under My Profile > Preferences > API Keys.
If you are using an Odoo Online instance, make sure the user account has a password or token configured, as these are not always set by default.