Human API Subscriptions API
API endpoints to manage subscriptions
API endpoints to manage subscriptions
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/human-api-subscriptions-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: Human Subscriptions API
version: 1.0.0
contact:
email: help@humanapi.co
url: https://www.humanapi.co/contact
termsOfService: https://www.humanapi.co/developer-terms
description: 'Operations tagged subscriptions across 4 of this provider''s published API definitions: human-api-admin-subscription-create-openapi.json, human-api-admin-subscription-delete-openapi.json, human-api-admin-subscription-details-openapi.json, human-api-admin-subscriptions-list-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://admin.humanapi.co
description: Production server
security:
- bearerAuth: []
tags:
- name: subscriptions
description: API endpoints to manage subscriptions
externalDocs:
description: Find out more
url: https://reference.humanapi.co/docs/admin-api
paths:
/api/v1/subscriptions:
post:
tags:
- subscriptions
description: Create a new subscription
operationId: createSubscription
requestBody:
description: Subscription details to add to the system
content:
application/json:
schema:
$ref: '#/components/schemas/subscription'
examples:
createNewSubscription:
summary: Create a user and send an invitation email
value:
clientUserId: whateverIdValueYouWant
subscriberEmail: agent@acme.co
subscriberFirstName: Jane
subscriberLastName: Doe
subscriberOffice: nw676
role: producer
responses:
'201':
description: Created
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/subscription'
'401':
$ref: '#/components/responses/unauthorized'
'404':
$ref: '#/components/responses/notFound'
'409':
$ref: '#/components/responses/conflict'
get:
tags:
- subscriptions
description: Find a subscription
parameters:
- $ref: '#/components/parameters/clientUserId'
- $ref: '#/components/parameters/subscriberEmail'
- $ref: '#/components/parameters/role'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/query'
- $ref: '#/components/parameters/sort'
operationId: getUsersSubscriptions
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/subscription'
'401':
$ref: '#/components/responses/unauthorized'
'404':
$ref: '#/components/responses/notFound'
servers:
- url: https://admin.humanapi.co
description: Production server
/api/v1/subscriptions/{subscriptionId}:
delete:
tags:
- subscriptions
description: Delete a specific subscription (by subscription id)
operationId: deleteSubscription
parameters:
- $ref: '#/components/parameters/subscriptionIdPath'
responses:
'200':
description: OK
get:
tags:
- subscriptions
description: Get the details of a specific subscription (by subscription id)
operationId: getSubscriptionDetails
parameters:
- $ref: '#/components/parameters/subscriptionIdPath'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/subscription'
'401':
$ref: '#/components/responses/unauthorized'
'404':
$ref: '#/components/responses/notFound'
servers:
- url: https://admin.humanapi.co
description: Production server
components:
responses:
notFound:
description: The specified resource was not found (e.g. the id does not exist)
content:
application/json:
schema:
$ref: '#/components/schemas/error'
example:
code: 404
error: Not Found
message: Not Found
x-humanapi-request-id: 05518ca2-1c9a-434e-8512-7284bbc54137
conflict:
description: There is a conflict with the specified resource (e.g. it may already exist)
content:
application/json:
schema:
$ref: '#/components/schemas/error'
example:
code: 409
error: Conflict
message: Unable to match the login of the new user to an existing user found for that user
x-humanapi-request-id: 05518ca2-1c9a-434e-8512-7284bbc54137
unauthorized:
description: The token provided is invalid. It may have expired or may have been revoked.
content:
application/json:
schema:
$ref: '#/components/schemas/error'
example:
code: 401
error: Unauthorized
message: Cannot authenticate you with this token
x-humanapi-request-id: 05518ca2-1c9a-434e-8512-7284bbc54137
schemas:
error:
type: object
required:
- statusCode
- error
- message
- x-humanapi-request-id
properties:
code:
type: integer
format: int32
error:
type: string
message:
type: string
x-humanapi-request-id:
type: string
subscription:
type: object
required:
- clientUserId
- subscriberEmail
- role
properties:
clientUserId:
type: string
subscriberEmail:
type: string
role:
type: string
subscriberOffice:
type: string
subscriberFirstName:
type: string
subscriberLastName:
type: string
parameters:
subscriptionIdPath:
name: subscriptionId
in: path
description: The subscriptionId of the user
required: true
schema:
type: string
clientUserId:
name: clientUserId
in: query
description: The clientUserId of user.
required: true
schema:
type: string
sort:
name: sort
in: query
description: The sort option for pagination
required: false
schema:
type: string
query:
name: query
in: query
description: The search string for pagination
required: false
schema:
type: string
subscriberEmail:
name: subscriberEmail
in: query
description: The email that the subscription is bound to
required: true
schema:
type: string
limit:
name: limit
in: query
description: The max number of records to return in one query
required: false
schema:
type: integer
format: int32
default: 50
offset:
name: offset
in: query
description: The index of the first record to return
required: false
schema:
type: integer
format: int32
default: 0
role:
name: role
in: query
description: The role that the subscription is bound to.
required: true
schema:
type: string
enum:
- producer
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
x-refined-from:
- human-api-admin-subscription-create-openapi.json
- human-api-admin-subscription-delete-openapi.json
- human-api-admin-subscription-details-openapi.json
- human-api-admin-subscriptions-list-openapi.json
x-readme:
explorer-enabled: true
proxy-enabled: true