AgeOnce Docs
API Reference

API Reference

Complete AgeOnce API documentation

API Reference

REST API documentation for integrating AgeOnce into your application.

Base URL

https://app.ageonce.com

Authentication

AgeOnce uses OAuth 2.0 Authorization Code Flow. For API requests you need:

  • Client ID — public identifier
  • Client Secret — secret key (server-side only)

Never use Client Secret in frontend code!

Endpoints

Response format

All responses are returned in JSON format:

{
  "age_token": "...",
  "token_type": "Bearer",
  "expires_in": 600
}

Error codes

HTTP codeDescription
200Success
400Invalid request parameters
401Invalid credentials
403Access denied
404Resource not found
500Internal server error

SDK and libraries

We currently offer REST API with examples for popular languages:

On this page