- In order to connect to your Ongage account via the API, you'll need the Username and Password of the Ongage User who will be using and issuing the API commands, along with your Account Code, that you can find under the Account Profile page:
Note: the Account Code is a unique alphanumeric string and is not the numeric Account ID
These are the credentials you'll need to send in the request header:
X_USERNAME: your_ongage_username X_PASSWORD: your_ongage_password X_ACCOUNT_CODE: your_ongage_account_code
It is recommended that the API User be either an Admin or General User. For a list of user types see the User Management help guide.
Also see our API Code Examples section.
How to Indicate List Id in Ongage API Calls