Manually Creating Basic Auth Headers

Basic Auth Header Example

Authorization: Basic dG1fOGhIaEc3Z2Y5c2hoZDowU2hHOGdMUmVwcE85Vm03NFBVU3llc2VjODdFaEg=

Many development frameworks support basic auth out-of-the-box (e.g. cURL) but you can also easily create the necessary headers yourself. Send an Authorization header with the value Basic ORG_ID:API_Key, replacing your own values for ORG_ID and API_Key. The ORG_ID:API_Key portion should be base64 encoded.

For example:

If your Organization ID is tm_8hHhG7gf9shhd and your API key is 0ShG8gLReppO9Vm74PUSyesec87EhH you would send the header in the example because tm_8hHhG7gf9shhd:0ShG8gLReppO9Vm74PUSyesec87EhH base64 encoded is dG1fOGhIaEc3Z2Y5c2hoZDowU2hHOGdMUmVwcE85Vm03NFBVU3llc2VjODdFaEg.

Making a request with an invalid ORG ID or API Key will result in a 403 response code.

For more info on error responses, see:

Error Responses

Last updated