MailInApp Contacts API
The Contacts API from MailInApp — 2 operation(s) for contacts.
The Contacts API from MailInApp — 2 operation(s) for contacts.
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-contacts-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 Contacts API
version: 1.0.0
contact:
name: MailInApp
url: https://mailinapp.com
description: 'Operations tagged Contacts 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: Contacts
paths:
/api/v1/contacts:
get:
tags:
- Contacts
operationId: findContacts
summary: Find a contact by email
description: The address's row in each of the account's contacts lists (or only in `listId`), most recently updated first. An empty array when it's in none. Each read is recorded in the account's data-access log.
parameters:
- name: email
in: query
required: true
schema:
type: string
format: email
- name: listId
in: query
required: false
schema:
type: string
responses:
'200':
description: Matching contacts
content:
application/json:
schema:
type: object
required:
- contacts
properties:
contacts:
type: array
items:
$ref: '#/components/schemas/Contact'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Contacts
operationId: upsertContacts
summary: Create or update contacts
description: 'Upserts into one contacts list, keyed by email (case-insensitive): an existing address updates in place, a new one is added. Send one contact (`email` + `fields`) or a batch (`contacts`, at most 500). Every address is verified on the server as it is written; invalid addresses are kept but never sent to. New field names are added to the list''s columns (at most 40 per list).'
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- title: One contact
type: object
required:
- listId
- email
properties:
listId:
type: string
email:
type: string
format: email
fields:
type: object
description: Field name → value. Scalars are stored as strings; nested values are ignored.
additionalProperties:
type:
- string
- number
- boolean
- 'null'
- title: Batch
type: object
required:
- listId
- contacts
properties:
listId:
type: string
contacts:
type: array
minItems: 1
maxItems: 500
items:
type: object
required:
- email
properties:
email:
type: string
format: email
additionalProperties:
type:
- string
- number
- boolean
- 'null'
responses:
'200':
description: Updated an existing contact (one-contact form), or the batch's counts
content:
application/json:
schema:
$ref: '#/components/schemas/ContactUpsertResult'
'201':
description: Created a new contact (one-contact form)
content:
application/json:
schema:
$ref: '#/components/schemas/ContactUpsertResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: The plan's contact limit is reached (one-contact form)
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Error'
'429':
$ref: '#/components/responses/RateLimited'
servers:
- url: https://mailinapp.com
/api/v1/lists:
get:
tags:
- Contacts
operationId: listContactLists
summary: List contacts lists
description: Every contacts list of the account, by name. No contact data.
responses:
'200':
description: The lists
content:
application/json:
schema:
type: object
required:
- lists
properties:
lists:
type: array
items:
$ref: '#/components/schemas/ContactList'
'401':
$ref: '#/components/responses/Unauthorized'
'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
Contact:
type: object
required:
- listId
- listName
- rowId
- email
- fields
- status
- verification
- createdAt
- updatedAt
properties:
listId:
type: string
listName:
type: string
rowId:
type: string
description: 'Stable per address: the same in every list.'
email:
type: string
format: email
fields:
type: object
additionalProperties:
type: string
status:
type: string
enum:
- active
- pending
description: pending until a double opt-in signup confirms.
verification:
type:
- object
- 'null'
description: The server's email verification verdict; null when not checked yet.
required:
- status
- reasons
- checkedAt
properties:
status:
type: string
enum:
- valid
- risky
- invalid
- unknown
reasons:
type: array
items:
type: string
checkedAt:
type: integer
description: Epoch ms.
createdAt:
type: integer
description: Epoch ms.
updatedAt:
type: integer
description: Epoch ms.
ContactList:
type: object
required:
- id
- name
- fields
- rowCount
- createdAt
- updatedAt
properties:
id:
type: string
name:
type: string
fields:
type: array
items:
type: string
rowCount:
type: integer
createdAt:
type:
- integer
- 'null'
description: Epoch ms.
updatedAt:
type:
- integer
- 'null'
description: Epoch ms.
ContactUpsertResult:
type: object
required:
- created
- updated
- skipped
properties:
created:
type: integer
updated:
type: integer
skipped:
type: integer
description: New contacts not added because the plan's contact limit is reached.
contact:
$ref: '#/components/schemas/Contact'
description: The one-contact form only.
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)