Skip to main content

Authentication

All WHR API endpoints require authentication.

Authenticate each request by sending your username and password in the request headers.

If you call an endpoint without valid credentials, the request fails.

The WHR API is a REST API available at https://api.10times.com.

Requests and responses use JSON format.

Authenticate a request​

Use these headers on every API request:

  • username
  • password
  • Accept: application/json

Example:

curl -X GET "https://api.10times.com/v4/company/search?euuid=fgg5gdd" \
-H "username: {{username}}" \
-H "password: {{password}}" \
-H "Accept: application/json"

Get your credentials​

You need a WHR account to access API credentials.

  1. Sign up on WHR.
  2. Create your account.
  3. Use the issued username and password in your API requests.

Keep credentials secure​

  • Never expose credentials in client-side code.
  • Store them in environment variables or a secret manager.
  • Rotate them if you suspect they were shared or leaked.