Validate Access Token
Core
Validate Access Token
Validate your API key and get account information
GET
Validate Access Token
Documentation Index
Fetch the complete documentation index at: https://docs.oneclickdz.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The validate endpoint allows you to verify that your API key is valid and retrieve information about the associated account and key permissions.This endpoint is useful for verifying API key validity during application
startup or after key rotation.
Response
true if validation succeededExample Request
Example Response
Error Responses
400 - Missing Access Token
400 - Missing Access Token
401 - Invalid Access Token
401 - Invalid Access Token
403 - IP Blocked
403 - IP Blocked
Use Cases
Startup Validation
Verify API key during application initialization
Health Checks
Include in application health check routines
Environment Verification
Confirm you’re using the correct key (sandbox vs production)
Permission Checking
Verify key scope and permissions before operations
Integration Example
Best Practices
Validate on Startup
Validate on Startup
Always validate your API key when your application starts
Cache Validation Result
Cache Validation Result
Don’t validate on every request - cache the result
Check Environment
Check Environment
Verify you’re using the correct environment
Handle Gracefully
Handle Gracefully
Implement proper error handling
Related Endpoints
Health Check
Check API service status
Get Balance
Check your account balance

