API Documentation

Syncrypt Public API Reference

Public REST API endpoints, authentication, and usage examples for integrating Syncrypt.

Authentication

All endpoints require API key authentication using the X-API-Key header.

curl -X GET https://api.syncrypt.io/v1/keys \
  -H "X-API-Key: your-api-key"

Partner Management

Register New Partner

POST/api/partners/register

Register a new partner account and receive an API key.

Request Body

{
  "company_name": "Acme Corporation",
  "name": "John Doe",
  "email": "john.doe@acme.com",
  "description": "Leading provider of cloud services"
}

Response

{
  "message": "Registration successful",
  "api_key": "your-api-key"
}

Key Management

Generate New Key

POST/api/keys/generate-key

Generate a new PGP key pair.

Form Data

  • email — Email address for the key

Response

{
  "fingerprint": "ABC123...",
  "public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
}