Client API Access·Tenant: XYZ

Client API Access

Safe APIs for client products, portals, and customer apps. XYZ can use these to connect their product app (e.g. my-product.xyz.com) with EnOpSy services like auth, billing, support, profile, menu, and permissions. Internal EnOpSy APIs are never exposed here.

Base URL: auth.enopsy.com13 API groupsPublic client APIs onlyHTTPS · token auth
Getting Started · 1

Overview

This page lists every API group EnOpSy can share with client products. Each group is scoped to your tenant, requires a valid access token, and returns only your data. Internal and superadmin APIs are listed separately under Do Not Share and are never callable from client products.

Base URLhttps://auth.enopsy.com
Total API Groups
13

Sharable with client products

Public Client APIs
Safe for tenant use

Scoped to your tenant only

Internal APIs
Not shared

EnOpSy internal team only

Getting Started · 2

Important Architecture Rule

EnOpSy and the client product are two separate systems. They connect only through secure APIs — no code is shared or copied across the boundary.

EnOpSy code is not copied to client product servers.
Client product code is not hosted inside EnOpSy.
Both systems stay separate and connect only by secure APIs.
Client product
my-product.xyz.com
Client auth
app.xyz.com/auth
API
api.enopsy.com
my-product.xyz.comEnOpSy APIVerify user / session / accessReturn safe response
Getting Started · 3

How Client Product Uses EnOpSy API

The session-verification flow a client product follows before opening its dashboard.

1
Customer opens my-product.xyz.com
2
Product checks session
3
If no session, redirect to app.xyz.com/authredirect
4
Auth uses EnOpSy Auth API
5
User logs in
6
Product verifies session using EnOpSy API
7
Product gets profile, product access, menu, billing status
8
Product dashboard opens
Shared APIs

API Groups

Public APIs XYZ can call from their own product apps. Filter by status, risk, or sharing level. Every endpoint below is prefixed with https://api.enopsy.com.

14 groups
Shared API

Auth API

Enabledhigh risk

Login, logout, magic link, OTP, password reset, and session check.

Base URLhttps://backend-auth.enopsy.com/api/auth
EndpointMethod
https://backend-auth.enopsy.com/api/auth/login-by-emailPOST
https://backend-auth.enopsy.com/api/auth/signin-by-phonePOST
https://backend-auth.enopsy.com/api/auth/magic-login/clientPOST
https://backend-auth.enopsy.com/api/auth/client/verifyGET
https://backend-auth.enopsy.com/api/auth/send-otpPOST
https://backend-auth.enopsy.com/api/auth/verify-otpPOST
https://backend-auth.enopsy.com/api/auth/client/logoutPOST
https://backend-auth.enopsy.com/api/auth/add-user-detailsPOST
https://backend-auth.enopsy.com/api/auth/reset-password-requestGET
https://backend-auth.enopsy.com/api/auth/reset-password/{token}GET
Main use cases
client loginSession checkPassword resetMagic link loginOTP login
Shared API

Client API

Enabledmedium risk

Allow XYZ to manage their own clients.

Base URLhttps://backend-auth.enopsy.com
EndpointMethod
https://backend-auth.enopsy.com/api/auth/get-user-details/client/{userId}GET
https://backend-auth.enopsy.com/api/auth/update-user-details/clientPUT
https://backend-auth.enopsy.com/api/auth/client/meGET
https://backend-auth.enopsy.com/api/company-details/client/{userId}GET
https://backend-auth.enopsy.com/api/company-details/client/{userId}/{companyId}PUT
Main use cases
Create clientView clientUpdate clientBlock clientActivate client
Shared API

Profile API

Enabledlow risk

Manage the logged-in user profile.

Base URLhttps://backend-auth.enopsy.com
EndpointMethod
https://backend-auth.enopsy.com/api/auth/get-user-details/client/{userId}GET
https://backend-auth.enopsy.com/api/auth/update-user-details/clientPOST
https://backend-auth.enopsy.com/api/company-details/client/{userId}GET
https://backend-auth.enopsy.com/api/company-details/client/{userId}/{companyId}PUT
https://backend-auth.enopsy.com/api/auth/reset-password-requestGET
https://backend-auth.enopsy.com/api/auth/reset-password/{token}GET
Main use cases
My profileChange nameChange phoneChange emailChange password
Shared API

Product API

Enabledmedium risk

Manage product access for products like my-product.xyz.com.

Base URLhttps://auth.enopsy.com/api/products
EndpointMethod
https://auth.enopsy.com/api/productsGET
https://auth.enopsy.com/api/productsPOST
https://auth.enopsy.com/api/products/{product_id}GET
https://auth.enopsy.com/api/products/{product_id}PUT
https://auth.enopsy.com/api/products/{product_id}/accessGET
https://auth.enopsy.com/api/products/{product_id}/assign-customerPOST
https://auth.enopsy.com/api/products/{product_id}/remove-customerPOST
Main use cases
List productsCreate productCheck product accessAssign customerRemove access
Shared API

Module API

Enabledlow risk

Show custom modules for XYZ customers and products.

Base URLhttps://backend-auth.enopsy.com
EndpointMethod
https://backend-auth.enopsy.com/api/group-modules/get-allGET
https://backend-auth.enopsy.com/api/group-modules/createPOST
https://backend-auth.enopsy.com/api/group-modules/delete/{moduleId}DELETE
https://backend-auth.enopsy.com/api/group-modules/edit-modulePOST
https://backend-auth.enopsy.com/api/group-modules/get-details/{moduleId}GET
https://backend-auth.enopsy.com/api/group-modules/edit-module-permissionPOST
Main use cases
Add moduleRemove moduleModule by IDModule by roleEdit Module
Shared API

Permission API

Enabledhigh risk

Check what a user can see and do.

Base URLhttps://backend-auth.enopsy.com
EndpointMethod
https://backend-auth.enopsy.com/api/auth/role-permission?module=SettingsGET
https://backend-auth.enopsy.com/api/department/statsGET
https://backend-auth.enopsy.com/api/department/get-allGET
https://backend-auth.enopsy.com/api/department/createPOST
https://backend-auth.enopsy.com/api/department/delete/{departmentId}DELETE
https://backend-auth.enopsy.com/api/department/edit-department-visibility/{departmentId}sGET
https://backend-auth.enopsy.com/api/department/get-details/{departmentId}GET
https://backend-auth.enopsy.com/api/auth/get-users-not-in-department/{departmentId}GET
https://backend-auth.enopsy.com/api/auth/remove-user-permissionPOST
https://backend-auth.enopsy.com/api/auth/update-permission-groupPOST
Main use cases
Check roleCheck permissionGive role to customerProtect features
Shared API

Billing API

Enabledhigh risk

Orders, invoices, payments, subscriptions, and plans.

Base URLhttps://backend-billing.enopsy.com/api/v1/client
EndpointMethod
https://backend-billing.enopsy.com/plan/subscription?origin={product}&source={product}&userId={id}GET
https://backend-billing.enopsy.com/card?origin={product}&source={product}&userId={id}GET
https://backend-billing.enopsy.com/order?origin={product}&source={product}&userId={id}GET
https://backend-billing.enopsy.com/order/{order_id}GET
https://backend-billing.enopsy.com/invoice?origin={product}&source={product}&userId={id}GET
https://backend-billing.enopsy.com/invoice/{invoice_id}GET
https://backend-billing.enopsy.com/transaction?origin={product}&source={product}&userId={id}GET
https://backend-billing.enopsy.com/transaction/{transaction_id}GET
Main use cases
Show plansCreate orderShow invoicePay invoiceView transactionManage subscription
Shared API

Support API

Enabledmedium risk

Ticket system for XYZ customers.

Base URLhttps://backend-dashboard.enopsy.com
EndpointMethod
https://backend-dashboard.enopsy.com/department/clientGET
https://backend-dashboard.enopsy.com/ticket/clientPOST
https://backend-dashboard.enopsy.com/ticket/client/client-tickets?userId=${currentUser}GET
https://backend-dashboard.enopsy.com/reply/client?ticketId=${id}GET
https://backend-dashboard.enopsy.com/ticket/client/id/?ticketId=${id}GET
https://backend-dashboard.enopsy.com/ticket/clientPUT
https://backend-dashboard.enopsy.com/reply/clientPOST
Main use cases
Create ticketList ticketsReply to ticketClose ticketReopen ticket
Shared API

Branding API

Enabledlow risk

White-label setup for XYZ.

Base URLhttps://auth.enopsy.com/api/branding
EndpointMethod
https://auth.enopsy.com/api/brandingGET
https://auth.enopsy.com/api/brandingPUT
https://auth.enopsy.com/api/branding/logoGET
https://auth.enopsy.com/api/branding/logoPUT
https://auth.enopsy.com/api/branding/themeGET
https://auth.enopsy.com/api/branding/themePUT
Main use cases
LogoColorsFaviconCompany nameSupport emailTerms linkPrivacy link
Shared API

Domain / Redirect API

Enabledhigh risk

Safe domains and login redirect.

Base URLhttps://auth.enopsy.com/api/domains
EndpointMethod
https://auth.enopsy.com/api/domainsGET
https://auth.enopsy.com/api/domainsPOST
https://auth.enopsy.com/api/domains/{domain_id}DELETE
https://auth.enopsy.com/api/domains/verifyPOST
https://auth.enopsy.com/api/auth/redirect/validatePOST
Main use cases
Add app.xyz.comAdd my-product.xyz.comVerify domainAllow redirect URLBlock unknown domains
Shared API

Notification API

Optionalmedium risk

Email, in-app, and payment alerts.

Base URLhttps://auth.enopsy.com/api/notifications
EndpointMethod
https://auth.enopsy.com/api/notificationsGET
https://auth.enopsy.com/api/notificationsPOST
https://auth.enopsy.com/api/notifications/{id}/readPOST
https://auth.enopsy.com/api/notifications/preferencesPUT
Main use cases
Login alertsPayment remindersTicket updatesIn-app alertsNotification settings
Shared API

Webhook API

Optionalhigh risk

Send EnOpSy events to the XYZ product system.

Base URLhttps://auth.enopsy.com/api/webhooks
EndpointMethod
https://auth.enopsy.com/api/webhooksGET
https://auth.enopsy.com/api/webhooksPOST
https://auth.enopsy.com/api/webhooks/{webhook_id}PUT
https://auth.enopsy.com/api/webhooks/{webhook_id}DELETE
https://auth.enopsy.com/api/webhooks/testPOST
Webhook events
customer.createdcustomer.logininvoice.paidpayment.failedticket.createdticket.repliedsubscription.cancelled
Main use cases
Sync customer dataSync payment eventsSync ticket eventsNotify XYZ backend
Shared API

Audit Log API

Limitedmedium risk

Show activity logs for the XYZ tenant only.

Base URLhttps://auth.enopsy.com/api/audit-logs
EndpointMethod
https://auth.enopsy.com/api/audit-logsGET
https://auth.enopsy.com/api/audit-logs/customer/{customer_id}GET
https://auth.enopsy.com/api/audit-logs/securityGET
Main use cases
Login historyProfile changesBilling activitySupport activitySecurity logs
Internal Only

Do Not Share These APIs

These APIs are only for the EnOpSy internal team. They must never be visible or callable from client products.

EnOpSy superadmin API
All-tenant list API
Internal database API
Internal server API
Other client data API
Master billing setting API
Internal system config API
Employee / admin private API
Internal onlyExposing any of these to a client product is a security violation.
Reference

API Security Rules

Apply every rule below before a client product goes live. Hiding a menu is not a security control.

Every API request must include a tenant_id
Every API request must verify the access token
Product must verify session before loading dashboard
API must never return another tenant's data
Approved domains only
Approved redirect URLs only
Rate limit per client
API keys must be rotated
Logs must be saved
Webhooks must use a signing secret
Menu hiding is not real security
API permission must be checked
Reference

API Access Summary

At-a-glance view of what is shared, its purpose, and its risk level.

API GroupShared With ClientMain PurposeRisk LevelStatus
Auth APIYesLogin and sessionhigh riskEnabled
Client APIYesManage own customersmedium riskEnabled
Profile APIYesUser profilelow riskEnabled
Product APIYesProduct accessmedium riskEnabled
Menu APIYesCustom menulow riskEnabled
Permission APIYesRole and access checkhigh riskEnabled
Billing APIYesOrders and invoiceshigh riskEnabled
Support APIYesTicketsmedium riskEnabled
Branding APIYesWhite-label setuplow riskEnabled
Domain APIYesSafe redirect / domainhigh riskEnabled
Notification APIOptionalAlertsmedium riskOptional
Webhook APIOptionalEvent synchigh riskOptional
Audit Log APILimitedTenant logs onlymedium riskLimited
Copied to clipboard