API Key

Some methods that don’t require a Bearer token may instead require an API key:

GET /v1/public-endpoint
X-API-Key: krqySJEM6q4qxcVcxqPgV4BhsHViBKy9

Language Support

The API supports multiple languages. Specify your preferred language using the Accept-Language header:

GET /v1/users/:id
Accept-Language: en

Supported languages:

  • English (en)
  • German (de)
  • French (fr)
  • Italian (it)

Example Endpoints

User Registration

POST /v1/users/initiate-registration
Content-Type: application/json
Accept-Language: en
X-API-Key: krqySJEM6q4qxcVcxqPgV4BhsHViBKy9

{
  "credential_type": "email",
  "credential_value": "newuser@example.com",
  "password": "secure_password",
  "terms_accepted": true,
  "privacy_policy_accepted": true
}

Get User Credentials

GET /v1/users/:id/credentials
Authorization: Bearer eyJhbGciOi...VzJtI4OGn6rqk_H4ioRM
Accept-Language: de

Validate a User Credential

PUT /v1/users/:id/credentials/:credential_id/validate
Authorization: Bearer eyJhbGciOi...VzJtI4OGn6rqk_H4ioRM
Content-Type: application/json
Accept-Language: fr

{
    "otp": "753205"
}
Make sure to use your values for variables :id, :credential_id, Authorization, X-API-Key, X-Device-ID and others