Warning: For security reasons we recommend authentication using OAuth 2.0. Learn about OAuth 2.0
For HTTP basic authentication, each request must include an authentication header, with a base-64 encoded value.
Your authentication token is of the format:
siteName + '\' + username + ':' + password
siteName is the company name you use to log in to Eloqua,
password are your Eloqua username and password.
For example, for a user whose company name is COMPANYX, username is user1, and password is password123, the base string is:
Running base-64 encoding on that string gives the token for the Authentication header:
The authentication header would then be:
Authorization: Basic Q09NUEFOWVhcdXNlcjE6cGFzc3dvcmQxMjM=