API Design Principles
You can expect the following when working with the HyperRail API:-
Resource-Oriented Endpoints
Clear and intuitive URLs representing core resources. -
Standard HTTP Methods & Status Codes
UsesGET,POST,PUT, andDELETEwith conventional response codes. -
JSON Request & Response Format
All responses are returned in JSON for easy parsing and integration. -
Consistent Content-Type Handling
Requests should includeContent-Type: application/json.
Authentication
All API requests require authentication using your API keys.These keys identify your application and determine whether requests are processed in test or live mode. You can find and manage your API keys from the API Keys & Webhooks section of your HyperRail dashboard. Each endpoint includes examples showing how to properly authenticate requests.