Getting Started
Quick Start
Get started with the GoSmarter API in minutes. This guide will walk you through authentication and making your first API call.
Prerequisites
Before you begin, you'll need:
- API Credentials - Contact your administrator to get OAuth 2.0 client credentials
- HTTP Client - Use curl, Postman, or any HTTP library
Step 1: Get an Access Token
The GoSmarter API uses OAuth 2.0 client credentials flow for authentication.
Request
Code
Response
Code
Save the access_token - you'll use it in the next steps. Tokens expire after about 1 hour.
Step 2: Make Your First API Call
Let's check the API health to verify everything is working:
Code
Response
Code
Success!
You've made your first API call.
Step 3: Try a Data Endpoint
Now let's fetch some real data. Here's how to check user synchronization status:
Code
Next Steps
- Authentication Guide - Learn more about OAuth 2.0 and token management
- API Reference - Explore all available endpoints
- MCP Integration - Connect AI agents to the API
Common Operations
List Operations
Most resources support listing with pagination:
Code
Create Operations
Create new resources using POST:
Code
Update Operations
Update existing resources using PUT:
Code
Error Handling
The API uses standard HTTP status codes:
200 OK- Request succeeded400 Bad Request- Invalid request data401 Unauthorized- Missing or invalid authentication404 Not Found- Resource doesn't exist429 Too Many Requests- Rate limit exceeded500 Internal Server Error- Server error
Error Response Format:
Code
Rate Limits
- Default: 1000 requests per hour per client
- Burst: Up to 50 requests per minute
Rate limit headers are included in every response:
X-RateLimit-Limit- Total requests allowedX-RateLimit-Remaining- Requests remainingX-RateLimit-Reset- Time when limit resets (Unix timestamp)
Need Help?
- Check the API Reference for detailed endpoint documentation
- Review the Authentication Guide for auth troubleshooting
- Contact support at [email protected]
Last modified on

