Skip to content

Endpoints Reference

Complete reference for all Gateway API endpoints organized by version and endpoint group.


Base Path: /api/2.0/user/*

Authentication: Password Grant OAuth2 (auth:api)

Purpose: User management and OAuth client administration

MethodEndpointDescriptionScopes/Permissions
GET/user/clientsList OAuth clientspermission:read-client
GET/user/clients/{id}Get OAuth clientpermission:read-client
POST/user/clientsCreate OAuth clientpermission:create-client
PUT/user/clients/{id}Update OAuth clientpermission:update-client
DELETE/user/clients/{id}Delete OAuth clientpermission:delete-client
MethodEndpointDescription
GET/user/appsList user’s apps
GET/user/apps/{appId}Get app details
POST/user/appsCreate new app
PUT/user/apps/{appId}Update app
DELETE/user/apps/{appId}Delete app
POST/user/apps/{appId}/logoUpload app logo
MethodEndpointDescription
GET/user/apps/{appId}/servicesList app services
POST/user/apps/{appId}/servicesAttach service to app
PUT/user/apps/{appId}/services/{serviceId}Update service
DELETE/user/apps/{appId}/services/{serviceId}Detach service
PUT/user/apps/{appId}/services-syncSync services
POST/user/apps/{appId}/services/{serviceId}/logoUpload service logo
MethodEndpointDescription
GET/user/apps/{appId}/integrationsList app integrations
GET/user/apps/{appId}/integrations/{integrationId}Get integration
POST/user/apps/{appId}/integrations/{integrationId}/claimClaim integration

Base Path: /api/2.0/app/*

Authentication: Client Credentials Grant (client_credentials + auth.app)

Purpose: Application-level integration management

MethodEndpointDescriptionRequired Scope
POST/app/intent/{account:remote_id}Create intent tokenapp:intent-create

Example:

Terminal window
curl -X POST https://<GATEWAY_URL>/api/2.0/app/intent/ACCT123 \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"scopes": ["webcomponent:integration-read"]}'
MethodEndpointDescriptionRequired Scope
GET/app/accountsList accountsapp:account-read
GET/app/accounts/{account:remote_id}Get accountapp:account-read
POST/app/accountsCreate accountapp:account-create
PUT/app/accounts/{accountId}Update accountapp:account-update

Example:

Terminal window
curl -X GET https://<GATEWAY_URL>/api/2.0/app/accounts \
-H "Authorization: Bearer YOUR_TOKEN"
MethodEndpointDescriptionRequired Scope
GET/app/integrationsList integrationsapp:integration-read
GET/app/integrations/{integration}Get integrationapp:integration-read
POST/app/integrations/{integrationId}/actionExecute actionapp:integration-action
PUT/app/integrations/{integrationId}Update integrationapp:integration-update
DELETE/app/integrations/{integrationId}Delete integrationapp:integration-delete
POST/app/{resource}/installInstall integrationapp:integration-create
POST/app/integrations/{integrationId}/claimClaim integrationapp:integration-claim
PATCH/app/integrations/{integrationKey}/statusUpdate statusapp:integration-update

Run Action Example:

Terminal window
curl -X POST https://<GATEWAY_URL>/api/2.0/app/integrations/42/action \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"resource": "get_orders",
"params": {
"order_status": ["open"],
"date": "2024-01-15"
}
}'
MethodEndpointDescriptionRequired Scope
GET/app/servicesList available servicesapp:service-attach
GET/app/services/{service}Get service detailsapp:service-attach
MethodEndpointDescriptionRequired Scope
GET/app/flowsList flowsapp:flow-read
GET/app/flows/{flow}Get flow detailsapp:flow-read

Base Path: /api/2.0/webcomponent/*

Authentication: Account-based token (auth.account:webcomponent:*)

Purpose: Account-scoped operations for embedded components

MethodEndpointDescriptionRequired Scope
GET/webcomponent/appGet current appwebcomponent:app-read
MethodEndpointDescriptionRequired Scope
GET/webcomponent/integrationsList account integrationswebcomponent:integration-read
GET/webcomponent/integrations/{integrationId}Get integrationwebcomponent:integration-read
PUT/webcomponent/integrations/{integrationId}Update integrationwebcomponent:integration-update
POST/webcomponent/integrations/{integrationId}/eventRun eventwebcomponent:integration-event
POST/webcomponent/integrations/{integrationId}/logoUpload logowebcomponent:integration-read
MethodEndpointDescriptionRequired Scope
POST/webcomponent/service/{resource}/installInstall integrationwebcomponent:integration-create
POST/webcomponent/integrations/{integrationId}/installComplete installationwebcomponent:integration-install
POST/webcomponent/integrations/{integrationId}/uninstallUninstall integrationwebcomponent:integration-install
POST/webcomponent/integrations/{integrationId}/actionsExecute actionwebcomponent:integration-event
MethodEndpointDescriptionRequired Scope
POST/webcomponent/integrations/{integrationId}/scheduleCreate schedulewebcomponent:integration-schedule
PUT/webcomponent/integrations/{integrationId}/schedule/{scheduleId}Update schedulewebcomponent:integration-schedule
DELETE/webcomponent/integrations/{integrationId}/schedule/{scheduleId}Delete schedulewebcomponent:integration-schedule
MethodEndpointDescriptionRequired Scope
GET/webcomponent/integrations/{integrationId}/logsGet integration logswebcomponent:integration-read
GET/webcomponent/servicesList available serviceswebcomponent:integration-read
GET/webcomponent/services-type/{serviceType}Get service by typewebcomponent:integration-read

Base Path: /api/1.0/*

Authentication: Password Grant OAuth2 (auth:api)

[!WARNING] These endpoints are legacy and maintained for backwards compatibility. Use v2.0 for all new integrations.

MethodEndpointPermissionDescription
GET/usersread-userList users
GET/users/{user}read-userGet user
GET/users/information-Get current user info
POST/userscreate-userCreate user
PUT/users/{user}update-userUpdate user
DELETE/users/{user}delete-userDelete user
MethodEndpointPermissionDescription
GET/integrationsread-integrationList integrations
GET/integrations/{integration}read-integrationGet integration
POST/integrationscreate-integrationCreate integration
PUT/integrations/{integration}update-integrationUpdate integration
DELETE/integrations/{integration}delete-integrationDelete integration
POST/{resource}/installread-integrationInstall integration
MethodEndpointPermissionDescription
GET/servicesread-integrationList services
GET/services/{service}read-integrationGet service
GET/services/logosread-integrationGet all logos
POST/servicescreate-integrationCreate service
PUT/services/{service}update-serviceUpdate service
DELETE/services/{service}delete-serviceDelete service
POST/services/{service}/logocreate-integrationUpload logo
MethodEndpointPermissionDescription
GET/schedulesread-scheduleList schedules
GET/schedules/{schedule}read-scheduleGet schedule
POST/schedulescreate-scheduleCreate schedule
PUT/schedules/{schedule}update-scheduleUpdate schedule
DELETE/schedules/{schedule}delete-scheduleDelete schedule
MethodEndpointPermissionDescription
POST/schedules-bulkcreate-scheduleCreate multiple schedules
PUT/schedules-bulkupdate-scheduleUpdate multiple schedules
DELETE/schedules-bulkdelete-scheduleDelete multiple schedules
MethodEndpointDescription
GET/appsList apps
GET/apps/{app}Get app
POST/appsCreate app
PUT/apps/{app}Update app
DELETE/apps/{app}Delete app
GET/accountsList accounts
GET/accounts/{account}Get account
POST/accountsCreate account
PUT/accounts/{account}Update account
DELETE/accounts/{account}Delete account
GET/companiesList companies
GET/companies/{company}Get company
POST/companiesCreate company
PUT/companies/{company}Update company

Gateway-Scoped Endpoints (v1.0 with Gateway Key)

Section titled “Gateway-Scoped Endpoints (v1.0 with Gateway Key)”

Base Path: /api/1.0/*

Authentication: Password Grant + verified.gateway.key middleware

Purpose: Integration-specific operations requiring gateway key verification

MethodEndpointPermissionDescription
GET/orders-List orders
GET/orders/{order}read-orderGet order
POST/orderscreate-orderCreate order
PUT/orders/{order}update-orderUpdate order
DELETE/orders/{order}delete-orderDelete order
POST/orders/acknowledge-Acknowledge orders
PUT/orders/{order}/cancel-Cancel order
GET/sandbox/orders-List sandbox orders
MethodEndpointDescription
POST/shipmentsCreate shipment/tracking update
MethodEndpointDescription
POST/inventorySync inventory levels
MethodEndpointDescription
GET/productsList products
POST/export-productsExport products to cart
MethodEndpointDescription
POST/webhooksCreate webhook
DELETE/webhooks/{webhookId}Delete webhook
MethodEndpointDescription
GET/resource/{resource}Get resource data
POST/services-requestExecute service request

MethodEndpointDescription
GET/app_authorization/{channel}OAuth2 authorization redirect
GET/app_callback/{channel}OAuth2 callback handler
GET/webhook_callback/{channel}/{account_id}/{store}Webhook callback
MethodEndpointDescription
POST/oauth/tokenObtain access token

Supported Grant Types:

  • password - User authentication
  • client_credentials - App authentication
  • refresh_token - Token refresh

All list endpoints support pagination:

?page=1&per_page=15
  • page - Page number (default: 1)
  • per_page - Items per page (default: 15, max: 100)

Some endpoints support filtering:

?status=ACTIVE&service_id=5

Where supported:

?sort=-created_at
  • field - Ascending
  • -field - Des cending

Some endpoints support eager loading:

?include=service,schedules,logs

All endpoints follow standard HTTP status codes:

CodeMeaningWhen Used
200OKSuccessful GET, PUT, PATCH
201CreatedSuccessful POST
204No ContentSuccessful DELETE
400Bad RequestMalformed request
401UnauthorizedMissing/invalid token
403ForbiddenInsufficient permissions
404Not FoundResource doesn’t exist
422Validation ErrorInvalid data
429Rate LimitedToo many requests
500Server ErrorInternal server error

Use the interactive Swagger documentation to explore and test endpoints:

Open Swagger UI →

Features:

  • 🧪 Test endpoints with real requests
  • 📋 View complete request/response schemas
  • 🔐 Authenticate once, test all endpoints
  • 📚 Comprehensive parameter documentation