API Terms of Service
Last updated: 2025-07-10
Effective Date: July 10, 2025
These API Terms of Service ("API Terms") govern your access to and use of the CariHub Application Programming Interface ("API") and any associated software development kits ("SDKs"), documentation, tools, and related services (collectively, the "API Services"). These API Terms are entered into between CariHub Business Link ("CariHub," "we," "us," or "our") and the individual or legal entity ("Developer" or "you") accessing or using the API Services.
BY ACCESSING OR USING THE API SERVICES, YOU ACKNOWLEDGE THAT YOU HAVE READ, UNDERSTOOD, AND AGREE TO BE BOUND BY THESE API TERMS. IF YOU DO NOT AGREE, YOU MUST NOT ACCESS OR USE THE API SERVICES.
These API Terms supplement and form an integral part of the CariHub Terms of Service and Subscription and Billing Agreement. In the event of any conflict between these API Terms and the CariHub Terms of Service with respect to API access and usage, these API Terms shall prevail.
---
1. API Access and Eligibility
1.1 API Availability
The CariHub API is available exclusively to subscribers of the ADVANCED Plan (or such other plan tier as CariHub may designate from time to time) who have been granted API access by CariHub. The API is not available to subscribers of the SIMPLE or INTERMEDIATE Plans unless a specific API access add-on has been purchased and activated.
1.2 API Key Requirement
Access to the CariHub API requires a valid API key ("API Key"), which is a unique alphanumeric identifier issued by CariHub and linked to your CariHub account. API Keys are issued upon request through the CariHub developer portal, subject to the following conditions:
- Your account must be in good standing, with no overdue payments or outstanding violations.
- You must agree to these API Terms.
- You must have enabled two-factor authentication (2FA) on your CariHub account.
- CariHub may, at its sole discretion, approve or deny API access requests.
1.3 API Key Types
CariHub issues the following types of API Keys:
- Production API Key: Authorizes access to the production API environment for use with live data and real client accounts. Subject to rate limiting quotas as described in Section 6.
- Test/Sandbox API Key: Authorizes access to the sandbox API environment for development and testing purposes. Uses test data only and is not subject to production rate limits.
- Read-Only API Key: Authorizes access to read-only API endpoints (e.g., retrieving booking data, client profiles) but prohibits write operations (e.g., creating bookings, modifying records).
- Full-Access API Key: Authorizes access to all available API endpoints, subject to the role-based permissions of the associated user account.
1.4 Key Security Obligations
You are solely responsible for the security and confidentiality of your API Key(s). You must:
- Keep your API Key(s) strictly confidential and not share, distribute, or disclose them to any unauthorized person or entity.
- Store API Key(s) securely, using environment variables, secure vaults, or other industry-standard secrets management practices. API Keys must never be committed to source code repositories, included in client-side code (e.g., JavaScript running in a browser), or transmitted over unencrypted channels.
- Rotate API Key(s) periodically, and immediately upon any suspected or actual unauthorized access or disclosure.
- Immediately notify CariHub of any actual or suspected unauthorized access to, or use of, your API Key(s).
- Revoke any API Key(s) that are no longer needed through the CariHub developer portal.
You are responsible for all activity that occurs under your API Key(s). CariHub will not be liable for any loss, damage, or liability arising from the unauthorized use of your API Key(s) resulting from your failure to maintain their security.
2. Authentication
2.1 API Key Authentication
All API requests must include authentication credentials. For server-to-server requests, authentication is performed by including your API Key in the request header:
```
Authorization: Bearer <your-api-key>
```
or
```
X-CariHub-API-Key: <your-api-key>
```
Requests that do not include a valid API Key will be rejected with an HTTP 401 (Unauthorized) response.
2.2 JWT for User-Context Operations
For API operations that require a specific user context (e.g., creating a booking on behalf of a specific client, accessing a client's personal data), a JSON Web Token ("JWT") must be used in addition to the API Key. The JWT is obtained through the CariHub OAuth 2.0 authorization flow:
- Your application redirects the user to CariHub's authorization endpoint.
- The user authenticates with CariHub and grants consent for the requested scopes.
- CariHub redirects back to your application with an authorization code.
- Your application exchanges the authorization code for an access token (JWT) and a refresh token.
- The JWT is included in subsequent API requests:
```
Authorization: Bearer <jwt-access-token>
X-CariHub-API-Key: <your-api-key>
```
JWTs have a default expiration of one (1) hour. Expired JWTs must be refreshed using the refresh token before they can be used for API requests. Refresh tokens expire after thirty (30) days of inactivity and must be re-obtained through the authorization flow.
2.3 Scope-Based Permissions
JWTs are issued with specific permission scopes that limit the operations the token can perform. Available scopes include:
read:bookings— Retrieve booking information.write:bookings— Create and modify bookings.read:clients— Retrieve client profile information.write:clients— Create and modify client profiles.read:payments— Retrieve payment and transaction information.write:payments— Initiate refunds and payment modifications.read:products— Retrieve product and service catalog information.write:products— Create and modify products and services.read:reports— Access reporting and analytics data.
Your application must request only the scopes necessary for its intended functionality. CariHub may deny access to certain scopes based on your plan tier and account configuration.
2.4 IP Whitelisting (Optional)
Subscribers may optionally configure IP whitelisting to restrict API access to specific IP addresses or CIDR ranges. When IP whitelisting is enabled, API requests originating from non-whitelisted IP addresses will be rejected with an HTTP 403 (Forbidden) response, regardless of the validity of the API Key or JWT.
3. Permitted Use
3.1 Authorized Use Cases
Subject to compliance with these API Terms, you may use the API Services for the following purposes:
(a) Internal Systems Integration. Integrating CariHub functionality with your own internal business systems, including but not limited to: customer relationship management (CRM) systems, enterprise resource planning (ERP) systems, accounting software, and internal dashboards and reporting tools.
(b) Custom Client Applications. Building custom applications for use by your staff, clients, or authorized partners that interact with your CariHub account, provided that such applications: (i) are used solely in connection with your CariHub account; (ii) do not provide access to or functionality of any other CariHub subscriber's account; and (iii) comply with all applicable terms, including data handling and privacy requirements.
(c) Approved Third-Party Integrations. Developing integrations with third-party platforms and services that are approved by CariHub, subject to a separate integration agreement. A list of approved integration partners is available in the CariHub developer portal.
(d) Development and Testing. Using the sandbox API environment for development, testing, and quality assurance purposes using test data.
3.2 Compliance with Applicable Agreements
All use of the API Services must comply with: (a) these API Terms; (b) the CariHub Terms of Service; (c) the CariHub Subscription and Billing Agreement; (d) the CariHub Privacy Policy; (e) any applicable Business Associate Agreement; and (f) all applicable laws and regulations, including data protection laws of the relevant Caribbean jurisdiction(s).
4. Prohibited Use
4.1 Strictly Prohibited Activities
You must not, and must not permit any third party to, engage in any of the following activities in connection with the API Services:
(a) Reselling or sublicensing. Reselling, sublicensing, redistributing, or otherwise commercializing access to the API Services, or offering the API Services (or access thereto) as a service to third parties, whether for direct or indirect commercial gain. This includes operating a "wrapper" or "proxy" service that provides third-party access to CariHub API functionality.
(b) Data Scraping and Bulk Extraction. Using the API Services to systematically scrape, crawl, extract, download, or otherwise collect data from CariHub in bulk, automated, or programmatic quantities beyond what is reasonably necessary for the permitted use cases described in Section 3.1. This prohibition includes, but is not limited to, extracting client lists, booking data, or business information for use outside of CariHub.
(c) Circumventing Rate Limits. Using any method, technique, or mechanism to circumvent, bypass, defeat, or otherwise avoid the rate limiting, throttling, or quota controls described in Section 6, including but not limited to: rotating API Keys, using multiple API Keys from different accounts, distributing requests across multiple IP addresses, or employing proxy networks.
(d) Reverse Engineering. Reverse engineering, decompiling, disassembling, or otherwise attempting to derive the source code, algorithms, or underlying structure of the API Services or any CariHub software, except to the extent that such restriction is expressly prohibited by applicable law.
(e) Interference with the Platform. Interfering with, disrupting, or damaging the CariHub platform, servers, networks, or other infrastructure, including by: introducing malicious code, viruses, or other harmful components; launching denial-of-service (DoS) or distributed denial-of-service (DDoS) attacks; or overloading the API with excessive requests.
(f) Unauthorized Access. Attempting to access data, accounts, or resources that you are not authorized to access, including accessing another CariHub subscriber's data or exploiting vulnerabilities to escalate permissions.
(g) Competitive Use. Using the API Services to build a product, service, or platform that competes directly with CariHub or any of its core features.
(h) Misrepresentation. Misrepresenting the source, origin, or ownership of data obtained through the API, or implying that your application or service is endorsed, sponsored, or affiliated with CariHub without express written authorization.
5. Data Handling
5.1 Respect for User Privacy
All data accessed through the API Services must be handled in strict accordance with the CariHub Privacy Policy, applicable data protection laws (including the Data Protection Acts of Jamaica, Trinidad and Tobago, Barbados, and other Caribbean jurisdictions), and any applicable Business Associate Agreement. You must:
- Process personal data obtained through the API only for the purposes authorized by the data subject and within the scope of your CariHub subscription.
- Implement appropriate technical and organizational measures to protect personal data against unauthorized access, alteration, disclosure, or destruction.
- Not retain personal data obtained through the API beyond the period necessary for the authorized purpose.
- Notify CariHub immediately if you become aware of any unauthorized access to or disclosure of personal data obtained through the API.
5.2 No Caching of PII
You must not cache, store, or persist personally identifiable information ("PII") obtained through the API in any permanent or semi-permanent storage (including databases, file systems, or cloud storage) unless one of the following applies:
- The caching is necessary for the permitted use case described in Section 3.1 and complies with applicable data protection laws.
- The data subject has provided informed consent for such storage.
- The storage is required by applicable law.
Any permitted caching or storage of PII must implement appropriate security measures, including encryption at rest and access controls. PII must not be cached in browser local storage, session storage, or any other client-side storage mechanism.
5.3 Data Minimization
You must implement data minimization principles: only request and access the data that is strictly necessary for your intended use case. Do not configure API calls to retrieve entire datasets when only a subset is needed. Use filtering, pagination, and field selection parameters to limit the data returned by API endpoints.
5.4 Data Retention Upon API Access Termination
If your API access is terminated for any reason, you must promptly (within fourteen [14] days of termination) delete or return all CariHub data, including all copies, obtained through the API, and provide written certification of such deletion or return to CariHub upon request.
6. Rate Limiting and Quotas
6.1 Rate Limiting
CariHub enforces rate limiting on all API endpoints to ensure the stability, performance, and fair availability of the API Services for all subscribers. Rate limits are applied per API Key and are measured in requests per minute and requests per day.
6.2 Default Rate Limits
The following default rate limits apply unless otherwise configured for your account:
| Tier | Requests Per Minute | Requests Per Day | Burst Allowance |
|---|---|---|---|
| ADVANCED (Standard) | 100 | 50,000 | 20 |
| ADVANCED (High-Volume) | 500 | 250,000 | 50 |
| ADVANCED (Enterprise) | 2,000 | 1,000,000 | 200 |
| Test/Sandbox | 200 | 100,000 | 40 |
"High-Volume" and "Enterprise" tiers are available upon request and may require additional subscription fees.
6.3 Burst Allowance
The burst allowance represents the number of requests that may exceed the per-minute rate limit in a short burst, subject to the overall daily limit. If the burst allowance is consumed, subsequent requests will be rate-limited until the request count falls below the per-minute threshold.
6.4 Rate Limit Headers
All API responses include the following headers to communicate rate limit status:
X-RateLimit-Limit: The maximum number of requests allowed per minute.X-RateLimit-Remaining: The number of requests remaining in the current minute.X-RateLimit-Reset: The Unix timestamp at which the rate limit window resets.X-RateLimit-Daily-Remaining: The number of requests remaining in the current day.
6.5 Rate Limit Exceeded Response
When a rate limit is exceeded, the API will return an HTTP 429 (Too Many Requests) response with the following body:
```json
{
"error": "rate_limit_exceeded",
"message": "API rate limit exceeded. Please retry after the reset time.",
"retry_after": 45
}
```
You must implement appropriate error handling to respect the retry_after value and the X-RateLimit-Reset header. Systematically retrying requests immediately after receiving a 429 response without respecting the retry interval may result in temporary suspension of your API access.
6.6 Quota Adjustments
CariHub may adjust rate limits and quotas from time to time based on overall platform capacity, fair usage considerations, or changes to your subscription tier. CariHub will provide reasonable notice of any quota reductions that may materially affect your use of the API Services.
6.7 Custom Quotas
If the default rate limits are insufficient for your use case, you may request a custom quota through the CariHub developer portal. Custom quotas are subject to approval by CariHub and may require an upgrade to the Enterprise tier or the execution of a custom API agreement with additional terms and fees.
7. Versioning and Deprecation
7.1 API Versioning
The CariHub API is versioned using a URL path segment (e.g., /api/v1/, /api/v2/). Each major version of the API may introduce new features, modify existing functionality, or deprecate endpoints. Minor version updates within a major version are backward-compatible and do not change existing behavior.
7.2 Current Version
The current production API version is v1. New integrations should be built against the current version. CariHub may release new major versions as the platform evolves.
7.3 Deprecation Policy
When a major API version is deprecated, CariHub will follow this deprecation schedule:
- Deprecation Notice: CariHub will provide at least twelve (12) months' advance written notice before a major API version is sunset. Notice will be delivered via email to the technical contact on your account and through the CariHub developer portal.
- Deprecation Period: During the deprecation period, the deprecated version will continue to function normally, but CariHub will not add new features or non-critical bug fixes to the deprecated version.
- Sunset: At the end of the deprecation period, the deprecated API version will be sunset. Requests to the sunset version will return HTTP 410 (Gone) responses.
- Migration Support: CariHub will provide migration documentation and, where feasible, a migration tool to assist you in transitioning to the current API version.
7.4 Beta Features
From time to time, CariHub may make new API features available as "beta" or "preview" features. Beta features are identified as such in the API documentation. Beta features may be changed, modified, or discontinued at any time without advance notice. Beta features should not be used in production applications that rely on stable, long-term API behavior. Beta features may have separate, more restrictive rate limits.
8. Warranty Disclaimer
8.1 No Warranties
THE API SERVICES ARE PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, CARIHUB DISCLAIMS ALL WARRANTIES, INCLUDING BUT NOT LIMITED TO:
- IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
- WARRANTIES THAT THE API SERVICES WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE.
- WARRANTIES THAT THE RESULTS OBTAINED FROM THE USE OF THE API SERVICES WILL BE ACCURATE, RELIABLE, OR COMPLETE.
- WARRANTIES THAT ANY DEFECTS OR ERRORS IN THE API SERVICES WILL BE CORRECTED.
8.2 No Guarantee of Availability
CariHub does not guarantee that the API Services will be available at all times or in all geographic locations. CariHub may experience downtime, scheduled maintenance, or performance degradation from time to time. CariHub will use commercially reasonable efforts to provide advance notice of scheduled maintenance through the CariHub status page.
8.3 API Documentation
The API documentation is provided for informational and reference purposes. While CariHub strives to maintain accurate and up-to-date documentation, CariHub does not warrant that the documentation is free of errors, omissions, or inaccuracies. In the event of any conflict between the API documentation and the actual behavior of the API, the actual behavior shall prevail. CariHub encourages Developers to report any documentation discrepancies through the CariHub developer portal.
9. Termination of API Access
9.1 Termination by CariHub
CariHub may suspend or terminate your API access immediately and without prior notice if:
- You materially breach any provision of these API Terms, the CariHub Terms of Service, or any other agreement with CariHub.
- You engage in any prohibited activity described in Section 4.
- Your CariHub subscription is terminated or expires.
- Your API Key is compromised and you fail to revoke it and obtain a new one within a reasonable time after being notified.
- CariHub is required to suspend or terminate API access by applicable law, regulation, or legal process.
- Your usage of the API Services materially and adversely affects the performance, availability, or security of the CariHub platform for other subscribers.
9.2 Temporary Suspension
CariHub may temporarily suspend your API access (without terminating your subscription) for a period of up to thirty (30) days if you repeatedly exceed rate limits despite warnings, or if CariHub reasonably believes that your API usage poses a security risk. During a temporary suspension, you will not be able to make API requests, but your account and data will be preserved.
9.3 Effect of Termination
Upon termination of your API access:
- Your API Key(s) will be immediately revoked and will no longer function.
- All active JWTs will be invalidated.
- Any webhooks configured through the API will be deactivated.
- You must cease all use of the API Services and delete or return all data obtained through the API in accordance with Section 5.4.
- Termination of API access does not terminate your CariHub subscription unless your subscription is also terminated.
9.4 Termination by Developer
You may terminate your API access at any time by revoking your API Key(s) through the CariHub developer portal or by contacting CariHub support.
10. Intellectual Property
10.1 CariHub IP
All intellectual property rights in the API Services, including but not limited to the API design, endpoints, data structures, documentation, SDKs, and any associated software, are owned by or licensed to CariHub. These API Terms do not grant you any intellectual property rights in the API Services beyond the limited license to access and use the API Services as expressly permitted herein.
10.2 Your IP
You retain all intellectual property rights in your own applications, integrations, and content that you create using the API Services, subject to your compliance with these API Terms.
10.3 CariHub Branding
You may not use the CariHub name, logo, trademarks, or service marks in connection with your API integration without the express prior written consent of CariHub, except as necessary to accurately describe the integration (e.g., "Powered by CariHub" as specifically authorized by CariHub).
11. General Provisions
11.1 Entire Agreement
These API Terms, together with the CariHub Terms of Service, Subscription and Billing Agreement, Privacy Policy, and any other agreements incorporated by reference, constitute the entire agreement between you and CariHub with respect to the API Services.
11.2 Amendments
CariHub may amend these API Terms from time to time. Material changes will be communicated via email and/or through the CariHub developer portal at least thirty (30) days before the changes take effect. Your continued use of the API Services after the effective date constitutes acceptance of the amended terms.
11.3 Severability
If any provision of these API Terms is held to be invalid, illegal, or unenforceable, the remaining provisions shall continue in full force and effect.
11.4 Waiver
The failure of CariHub to enforce any provision of these API Terms shall not constitute a waiver of that provision or of the right to enforce it in the future.
11.5 Governing Law and Dispute Resolution
These API Terms shall be governed by and construed in accordance with the laws of the Republic of Trinidad and Tobago, without regard to its conflict of laws principles. Any disputes arising out of or in connection with these API Terms shall first be attempted to be resolved through good-faith negotiation between the Parties. If the dispute cannot be resolved through negotiation within thirty (30) days, the dispute shall be submitted to binding arbitration in accordance with the arbitration rules of [Arbitration Body], held in [City, Country]. The language of the arbitration shall be English. The arbitral award shall be final and binding on the Parties.
11.6 Contact Information
For API-related technical support, questions, or concerns, please contact:
CariHub Developer Support
Email: api-support@carihub.com
Developer Portal: https://www.carihub.net
Status Page: https://www.carihub.net
For legal inquiries:
CariHub Business Link
Legal Department
Email: legal@carihub.com
Valsayn North, Valsayn, Trinidad & Tobago
Certificate of Registration No. B2026081100008