Adopets system-auth API
Connect/disconnect an external system user and obtain a session token
Connect/disconnect an external system user and obtain a session token
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/adopets-system-auth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Adopets External payment-request System Auth API
version: '1.0'
description: Adopets External API for organization (shelter/rescue) integrations. It lets an external partner system connect a staff user, then create and manage adoption-related payment requests and their transactions (adoption fees, licenses, products), including retrieving, changing, cancelling requests and refunding transactions. All operations are HTTP POST with a JSON body and use an organization API key (x-api-key) plus a per-session bearer token obtained from system-auth/connect. Derived from the provider's public Postman documentation; request/response shapes reflect the published examples.
contact:
name: Adopets
url: https://developers.adopets.com/
servers:
- url: https://service.api.dev.adopets.app
description: Documented (development) host from the public Postman collection
- url: https://service.api.adopets.app
description: Production host (DNS-resolvable; inferred from the dev host naming, verify before use)
security:
- apiKeyAuth: []
sessionBearer: []
tags:
- name: system-auth
description: Connect/disconnect an external system user and obtain a session token
paths:
/organization/external/system-auth/connect:
post:
tags:
- system-auth
operationId: connectExternalSystemUser
summary: Connect external system user
description: Authenticates and connects an external system user to the organization, returning an authorization (session) token used as the bearer token for subsequent requests.
parameters:
- $ref: '#/components/parameters/AcceptLanguage'
security:
- apiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExternalSystemUser'
example:
email: andre@petloyalty.co
first_name: André
last_name: Martins
role: admin
responses:
'200':
description: OK — session authorization token returned
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopeAuth'
example:
prefix: 2xx
status: 200
cached: false
message: OK
data:
authorization: <JWT>
default:
description: Error envelope
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopeError'
/organization/external/system-auth/disconnect:
post:
tags:
- system-auth
operationId: disconnectExternalSystemUser
summary: Disconnect external system user
description: Disconnects a user from the external system authentication, removing their integration access.
parameters:
- $ref: '#/components/parameters/AcceptLanguage'
security:
- apiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExternalSystemUser'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Envelope'
default:
description: Error envelope
content:
application/json:
schema:
$ref: '#/components/schemas/EnvelopeError'
components:
schemas:
EnvelopeError:
allOf:
- $ref: '#/components/schemas/Envelope'
description: Error variant of the standard envelope (prefix 4xx/5xx, non-OK message).
EnvelopeAuth:
allOf:
- $ref: '#/components/schemas/Envelope'
- type: object
properties:
data:
type: object
properties:
authorization:
type: string
description: JWT session token
Envelope:
type: object
description: Standard Adopets response envelope.
properties:
prefix:
type: string
example: 2xx
status:
type: integer
example: 200
cached:
type: boolean
message:
type: string
example: OK
data: {}
ExternalSystemUser:
type: object
required:
- email
properties:
email:
type: string
format: email
first_name:
type: string
last_name:
type: string
role:
type: string
description: External user role.
enum:
- staff
- super_user
- editor
- owner
- foster_admin
- admin
parameters:
AcceptLanguage:
name: Accept-Language
in: header
required: false
description: Preferred response language (e.g. en, pt-BR).
schema:
type: string
securitySchemes:
apiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: Organization API key issued by Adopets, sent on every request.
sessionBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: Per-session token (data.authorization) returned by system-auth/connect.
x-generated: '2026-07-17'
x-method: derived
x-source: https://developers.adopets.com/ (public Postman collection external-api-organization, publishedId 2sB34bK3Rk)