Skip to content

SOP-001: API Authentication

Fresh
FieldValue
Document IDSOP-001
Version1.0
StatusActive
Last Updated2025-01-08

Overview

This procedure explains how to authenticate with the Proxidize API using token-based authentication. All API endpoints require valid authentication.

Prerequisites

  • Active Proxidize subscription (Essential, Plus, or Business)
  • Access to Proxidize dashboard
  • Network access to Proxidize server

Procedure

Step 1: Locate Your API Token

  1. Log into your Proxidize dashboard
  2. Click Settings in the navigation
  3. Find the API Token section
  4. Click Copy to copy your token

Step 2: Format the Authorization Header

The token must be included in the HTTP Authorization header with this exact format:

Authorization: Token YOUR_API_TOKEN

Important

  • The word "Token" must be capitalized
  • There must be a single space between "Token" and your actual token
  • Do not include quotes around the token

Step 3: Make an Authenticated Request

Using cURL:

bash
curl -H "Authorization: Token abc123xyz789" \
     http://192.168.1.100/api/getinfo

Using JavaScript (fetch):

javascript
const response = await fetch('http://192.168.1.100/api/getinfo', {
  headers: {
    'Authorization': 'Token abc123xyz789'
  }
});
const data = await response.json();

Using Python (requests):

python
import requests

headers = {'Authorization': 'Token abc123xyz789'}
response = requests.get('http://192.168.1.100/api/getinfo', headers=headers)
data = response.json()

Verification Checklist

  • [ ] API token copied from dashboard
  • [ ] Authorization header formatted correctly
  • [ ] Test request returns JSON (not error)
  • [ ] Token stored securely (not in code)

Troubleshooting

IssueCauseSolution
401 UnauthorizedInvalid or missing tokenVerify token is correct and header format
403 ForbiddenPlan doesn't support endpointCheck plan access levels
Connection refusedServer unreachableVerify server IP and network access

See Also

Proxidize API Documentation