MailInApp Courses API
The Courses API from MailInApp — 2 operation(s) for courses.
The Courses API from MailInApp — 2 operation(s) for courses.
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/mailinapp-com:mailinapp-com-courses-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Mailinapp Com Courses API
version: 1.0.0
contact:
name: MailInApp
url: https://mailinapp.com
description: 'Operations tagged Courses across 2 of this provider''s published API definitions: mailinapp-com-openapi.json, mailinapp-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://mailinapp.com
security:
- apiKey: []
tags:
- name: Courses
paths:
/api/v1/courses/{id}/enroll:
post:
tags:
- Courses
operationId: enrollInCourse
summary: Grant or revoke membership access
description: 'Membership-wide access, keyed off one of the account''s courses. `active: false` revokes.'
parameters:
- $ref: '#/components/parameters/Id'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
properties:
email:
type: string
format: email
active:
type: boolean
default: true
responses:
'200':
description: Done
content:
application/json:
schema:
type: object
required:
- subscriberId
- active
properties:
subscriberId:
type: string
active:
type: boolean
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: The Embed API isn't included in the plan
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
'404':
$ref: '#/components/responses/NotFound'
'429':
description: Too many requests for this key, or the plan's monthly Embed API quota is used up
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
servers:
- url: https://mailinapp.com
/api/v1/courses/{id}/embed-token:
post:
tags:
- Courses
operationId: courseEmbedToken
summary: Mint a member-portal embed URL
description: A short-lived portal URL that signs the member in, for an iframe. The member must currently have access.
parameters:
- $ref: '#/components/parameters/Id'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
properties:
email:
type: string
format: email
responses:
'200':
description: The portal URL
content:
application/json:
schema:
type: object
required:
- portalUrl
properties:
portalUrl:
type: string
format: uri
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: Not included in the plan, or the member has no access
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: The course's membership has no portal
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://mailinapp.com
components:
responses:
BadRequest:
description: Invalid request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
example:
type: about:blank
title: Bad Request
status: 400
detail: A valid `email` is required
error: A valid `email` is required
Unauthorized:
description: Missing or invalid API key
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
example:
type: about:blank
title: Unauthorized
status: 401
detail: 'Missing or invalid Authorization: Bearer <apiKey>'
error: 'Missing or invalid Authorization: Bearer <apiKey>'
RateLimited:
description: Too many requests for this key
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
example:
type: about:blank
title: Too Many Requests
status: 429
detail: Too many requests
error: Too many requests
NotFound:
description: Not found, or not this account's
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
example:
type: about:blank
title: Not Found
status: 404
detail: List not found
error: List not found
schemas:
Error:
type: object
description: An RFC 9457 problem details document. Routes may add extension members, such as a machine-readable `code`.
required:
- type
- title
- status
- detail
- error
properties:
type:
type: string
description: A URI naming the problem type; `about:blank` means the HTTP status says it all.
example: about:blank
title:
type: string
description: The HTTP status's reason phrase.
example: Not Found
status:
type: integer
description: The HTTP status code, repeated.
example: 404
detail:
type: string
description: What went wrong with this request, for a person to read.
example: List not found
error:
type: string
description: The same text as `detail`, kept for clients written before problem details.
example: List not found
code:
type: string
description: A machine-readable reason, on the routes that have one.
additionalProperties: true
parameters:
Id:
name: id
in: path
required: true
schema:
type: string
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key from Dashboard → Developers (mia_live_…).
x-refined-from:
- mailinapp-com-openapi.json
- mailinapp-com-openapi.json
x-provenance:
method: harvested
publisher: MailInApp
source: https://mailinapp.com/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)