Skip to main content
Version: 1.0.0

Agantia Public API

REST API for websites, apps, and integrations built on Agantia.

  • Authenticate with OAuth 2.0 client credentials at /api/public/v1/oauth/token.
  • Production: https://api.staging.agantia.com/api/public/v1. Sandbox: https://sandbox-api.agantia.com/api/public/v1.
  • Errors use RFC 9457 problem details (application/problem+json).
  • Lists use page, per_page (max 100), filter[field], sort, and fields.

Authentication​

Security Scheme Type:

oauth2

OAuth Flow (clientCredentials):

Token URL: /api/public/v1/oauth/token

Scopes:

  • catalogues:read: Read catalogues the app can access

  • categories:read: Read product categories

  • products:read: Read products and product details

  • availability:read: Read product availability

  • pricing:read: Read published prices

  • blogs:read: Read blog posts and categories

  • media:read: Read product images and media

  • reviews:read: Read published reviews

  • bookings:create: Create bookings and price quotes

  • bookings:read: Read bookings the app owns

  • bookings:update: Update bookings the app owns

  • bookings:cancel: Cancel bookings the app owns

  • bookings:pay_with_credit: Pay for bookings from the agent credit account

  • travellers:read: Read travellers on bookings the app owns

  • travellers:write: Add and update travellers on bookings the app owns

  • ai_chat:read: Read the app's AI chatbot conversations and their messages

  • ai_chat:write: Start AI chatbot conversations and send messages. Uses the merchant's AI credits