title: API Reference
description: Complete reference for all Wontopos API endpoints.
API Reference
The Wontopos API is a RESTful API that uses JSON for request and response bodies. All requests must be authenticated.
Base URL
https://api.wontopos.com All API paths are versioned. The current version is v1.
Versioning
| Version | Status | End of life |
|---|---|---|
v1 | Current | — |
Include the version in the URL path: /v1/marketplace/apis.
Versioning policy
Breaking changes are introduced only in new major versions. Minor additions (new fields, new endpoints) are added to the current version.
Authentication header
All requests must include:
Authorization: Bearer <your_api_key_or_token> See Authentication for details.
Request format
POST,PUT, andPATCHrequests must includeContent-Type: application/json- Query parameters use standard URL encoding
- All timestamps are ISO 8601 in UTC
Content types
| Header | Value |
|---|---|
Content-Type | application/json |
Accept | application/json |
Response format
Successful responses return a 2xx status code and a JSON body. List endpoints wrap results in a paginated envelope:
{
"object": "list",
"data": [...],
"total": 142,
"limit": 20,
"offset": 0,
"has_more": true
} Pagination
All list endpoints support offset-based pagination.
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Number of results per page (max 100) |
offset | integer | 0 | Number of results to skip |
HTTP methods
GET — Retrieve a resource or list of resources POST — Create a new resource PUT — Replace a resource PATCH — Update specific fields of a resource DELETE — Remove a resourceResources
| Resource | Description |
|---|---|
| Marketplace | Browse and search available APIs |
| Subscriptions | Manage API subscriptions |
| Usage | View usage metrics and reports |
| Webhooks | Configure real-time event notifications |