Getting Started
Underline provides different base URLs for production and sandbox environments to help developers test and integrate with the platform effectively:
- Production:
https://api.underline.com- Use this endpoint for live, production-level requests. - Sandbox:
https://api.i-s.underline.com- Use this endpoint for testing and sandbox environments.
These URLs ensure that developers can maintain a clear separation between testing and live operations, minimizing risk and providing a controlled environment for development and integration.
REST API Overview
Section titled “REST API Overview”Underline’s REST API allows developers to interact with various services using standard HTTP methods such as GET, POST, PUT, and DELETE. This API is well-suited for operations like managing resources, retrieving data, and performing actions.
GraphQL API Overview
Section titled “GraphQL API Overview”Underline also provides a GraphQL API at /api/graphql, enabling developers to interact with our platform using flexible GraphQL queries and mutations. This API allows for more efficient data retrieval, as developers can request exactly the data they need in a single query.
Authentication
Section titled “Authentication”Authentication is required for both the REST and GraphQL APIs. To authenticate your requests, use the Authorization header with a Bearer token:
Authorization: Bearer <token>For more details on authentication and obtaining your token, please refer to our authorization guide.