# Manually Creating Basic Auth Headers

#### Basic Auth Header Example <a href="#basic-auth-header-example" id="basic-auth-header-example"></a>

```
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.

&#x20;

**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.&#x20;

For more info on error responses, see:

{% content-ref url="../response-format/error-responses" %}
[error-responses](https://docs.getdor.com/dtm-docs/dtm-api/response-format/error-responses)
{% endcontent-ref %}
