> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rollfi.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

## Authentication

All the APIs utilize Basic authentication, where you need to include the `Authorization` header in your HTTPS requests. The header value should be in the format
Basic Base64 encode using the relevant clientID and SecretKey.

**Example :**
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=

To authenticate, you'll require the following credentials:

1. **clientID**: Your unique account identifier.
2. **SecretKey**: Your account password, used for sending API requests.

Ensure to replace CLIENTID and SECRETKEY with your actual client ID and secret key provided by the API provider.
Additionally, fill in the necessary information within the request body JSON structure.

**Example Curl Request :**

```bash theme={null}
curl --location 'https://sandbox.rollfi.xyz/companyOnboarding#companyRegistration' \ 
--header 'Content-Type: application/json' \ 
--header 'Authorization: Basic b64encode (CLIENTID:SECRETKEY)' \ 
--data-raw '{ 
"method": "companyRegistration", 
"registration": { 
"company": "",
"firstName": "",
"middleName": "", 
"lastName": "", 
"phoneNumber": "", 
"email": "", 
"businessWebsite": "", 
"nacisSubCategoryCode": , 
"isEsign": , 
"isTermsAccepted": } 
}'
```
