Skip to main content
The Tryno API follows RESTful conventions. All requests and responses use JSON, and every endpoint requires authentication via Bearer Token.

Base URL

All API requests are made to the following base URL:
https://api.tryno.io/v1

Authentication

Every request must include a valid Bearer Token in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_KEY" \
     https://api.tryno.io/v1/communities
You can generate your API key at Admin > Settings > API. See the Authentication page for details on login, token refresh, and session management.

Rate limits

Rate limits depend on your plan. If you exceed the limit, the API returns a 429 status code.
PlanLimit
Pro100 req/min
Business1,000 req/min
Rate-limited responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers so you can adjust your request cadence.

Response format

All successful responses follow a consistent envelope:
{
  "data": { ... },
  "meta": {
    "page": 1,
    "per_page": 20,
    "total": 100
  }
}
  • data — The requested resource or an array of resources.
  • meta — Pagination metadata (present on list endpoints only).

Error handling

When a request fails, the API returns a structured error object:
{
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "message": "Community not found",
    "status": 404
  }
}
CodeDescription
400Bad request
401Unauthenticated
403Forbidden
404Resource not found
429Rate limit exceeded
500Internal server error
Error codeMeaning
VALIDATION_ERROROne or more request body fields are invalid.
RESOURCE_NOT_FOUNDThe requested resource does not exist.
UNAUTHORIZEDThe Bearer Token is missing or invalid.
FORBIDDENYou do not have permission to perform this action.
RATE_LIMIT_EXCEEDEDYou have exceeded the request rate limit for your plan.

Pagination

List endpoints support cursor-based pagination through query parameters:
GET /v1/communities?page=2&per_page=20
ParameterTypeDefaultDescription
pageint1The page number to retrieve.
per_pageint20Items per page (max 50).

SDKs

Official SDKs are coming soon for:
  • JavaScript / TypeScript
  • Python
  • PHP
In the meantime, you can interact with the API directly using any HTTP client such as curl, Postman, or your language’s built-in HTTP library.