All requests require authentication. You can authenticate your requests by adding an API key header to your http requests.

## Partner Authentication

Partners are able to authenticate requests for resources belonging to that partner and its portfolio companies.

br
```curl
curl -X GET \ 
  https://sandbox.encompassfi.com/companies \
  -H 'Content-Type: application/json' \
  -H 'X-API-key: <API_KEY>'
```

## Corporation Authentication

Corporations are able to authenticate requests for resources belonging to that corporation and its portfolio companies.

br
```curl
curl -X GET \ 
  https://sandbox.encompassfi.com/companies \
  -H 'Content-Type: application/json' \
  -H 'G-API-key: <API_KEY>'
```

## Company Authentication

Companies can only authenticate requests for resources belonging to that company.

br
```curl
curl -X GET \ 
  https://sandbox.encompassfi.com/{com_84b1702f8fba4cbd87221474d0e43bac}/workplaces \
  -H 'Content-Type: application/json' \
  -H 'C-API-key: <API_KEY>'
```