Reply.io Attachments API
Upload file attachments used across email templates, sequence steps, and direct emails
Upload file attachments used across email templates, sequence steps, and direct emails
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/reply-io:reply-io-attachments-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:
version: 3.0.0
title: Reply Attachments API
description: API for managing email sequences, contacts, and automation workflows
servers:
- url: https://api.reply.io
security:
- bearerAuth: []
tags:
- name: Attachments
description: Upload file attachments used across email templates, sequence steps, and direct emails
paths:
/v3/attachments:
post:
tags:
- Attachments
operationId: UploadAttachment
summary: Upload attachment
x-required-scope: other:write
description: '_Requires the `other:write` scope (or a broader one that includes it)._
Upload a file once and reuse it across outbound messages. Send it as multipart/form-data in a single field named file.'
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: File to upload. Must be non-empty.
responses:
'200':
description: File uploaded
content:
application/json:
schema:
type: object
title: Attachment
description: Uploaded file attachment usable across email templates, sequence steps, and direct emails.
required:
- id
- fileName
- size
properties:
id:
type: integer
description: Attachment identifier — pass this in `attachmentIds` arrays on email-template, sequence-step, and inbox-message endpoints.
fileName:
type: string
description: Original file name as supplied by the upload.
size:
type: integer
description: File size in kilobytes (rounded up).
'400':
description: File is missing or empty.
content:
application/problem+json:
schema:
allOf:
- allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- type: object
properties:
code:
type: string
description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
example: sequence.notFound
title: Business Problem
description: 'Domain error response carrying a stable, namespaced error slug.
Emitted for most 4xx responses (business 400, 403, 404, 409, …) and
for 503 when a downstream dependency is unavailable.'
- example:
title: Bad Request
status: 400
detail: Pagination parameters are invalid.
code: sequence.invalidPagination
example:
title: Bad Request
status: 400
detail: File is required.
code: attachment.emptyFile
'401':
description: Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
content:
application/problem+json:
schema:
allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- example:
title: Unauthorized
status: 401
detail: Authentication credentials are missing or invalid.
'403':
description: Attachments feature is not available for this user or team.
content:
application/problem+json:
schema:
allOf:
- allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- type: object
properties:
code:
type: string
description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
example: sequence.notFound
title: Business Problem
description: 'Domain error response carrying a stable, namespaced error slug.
Emitted for most 4xx responses (business 400, 403, 404, 409, …) and
for 503 when a downstream dependency is unavailable.'
- example:
title: Forbidden
status: 403
detail: You do not have permission to access this resource.
code: sequence.forbidden
example:
title: Forbidden
status: 403
detail: Attachments feature is not available for this user.
code: attachment.forbidden
'429':
description: Too Many Requests
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
minimum: 1
content:
application/problem+json:
schema:
allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
example:
title: Too Many Requests
status: 429
detail: API calls quota exceeded! maximum admitted 100 per 1m.
/v3/attachments/voice:
post:
tags:
- Attachments
operationId: UploadVoiceAttachment
summary: Upload voice attachment
description: Turn a recorded audio file into a LinkedIn voice message. Send it as multipart/form-data in a single field named file.
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: Audio file to upload. Must be non-empty and no longer than 60 seconds.
responses:
'200':
description: Voice attachment uploaded and converted
content:
application/json:
schema:
type: object
title: VoiceAttachment
description: Uploaded voice message attachment.
required:
- id
- fileName
- lengthInSeconds
properties:
id:
type: integer
description: Attachment identifier.
fileName:
type: string
description: Original file name as supplied by the upload.
lengthInSeconds:
type: integer
description: Duration of the voice message in seconds.
'400':
description: 'File is missing, empty, too long, or could not be converted.
| `code` | Meaning |
|---|---|
| `attachment.emptyFile` | No file provided or file is empty |
| `attachment.fileTooLong` | Voice message exceeds the 60-second limit |
| `attachment.conversionError` | Audio file could not be converted to LinkedIn voice format |'
content:
application/problem+json:
schema:
allOf:
- allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- type: object
properties:
code:
type: string
description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
example: sequence.notFound
title: Business Problem
description: 'Domain error response carrying a stable, namespaced error slug.
Emitted for most 4xx responses (business 400, 403, 404, 409, …) and
for 503 when a downstream dependency is unavailable.'
- example:
title: Bad Request
status: 400
detail: Pagination parameters are invalid.
code: sequence.invalidPagination
examples:
empty_file:
summary: File is empty
value:
title: Bad Request
status: 400
detail: File is required.
code: attachment.emptyFile
file_too_long:
summary: Voice message exceeds 60 seconds
value:
title: Bad Request
status: 400
detail: Voice message must not exceed 60 seconds.
code: attachment.fileTooLong
conversion_error:
summary: Audio conversion failed
value:
title: Bad Request
status: 400
detail: Audio file could not be converted to LinkedIn voice format.
code: attachment.conversionError
'401':
description: Unauthorized. The response body is empty; check the `WWW-Authenticate` header for the expected scheme.
content:
application/problem+json:
schema:
allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- example:
title: Unauthorized
status: 401
detail: Authentication credentials are missing or invalid.
'403':
description: Attachments feature is not available for this user or team.
content:
application/problem+json:
schema:
allOf:
- allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
- type: object
properties:
code:
type: string
description: "Stable, machine-readable error slug in the form\n`\"<resource>.<variant>\"`.\n\n* `resource` is the camelCased domain — e.g. `sequence`,\n `contact`, `inboxThread`, `blacklistDomainRule`.\n* `variant` is the camelCased specific failure mode — e.g.\n `notFound`, `forbidden`, `duplicateName`, `globalRuleReadOnly`.\n\nUse `code` for programmatic error handling; use `detail` for\nuser-facing messages. Slugs are stable across server-side enum\nreorderings and never change meaning under a given resource."
pattern: ^[a-z][a-zA-Z0-9]*(\.[a-z][a-zA-Z0-9]*)+$
example: sequence.notFound
title: Business Problem
description: 'Domain error response carrying a stable, namespaced error slug.
Emitted for most 4xx responses (business 400, 403, 404, 409, …) and
for 503 when a downstream dependency is unavailable.'
- example:
title: Forbidden
status: 403
detail: You do not have permission to access this resource.
code: sequence.forbidden
example:
title: Forbidden
status: 403
detail: Attachments feature is not available for this user.
code: attachment.forbidden
'429':
description: Too Many Requests
headers:
Retry-After:
description: Seconds to wait before retrying
schema:
type: integer
minimum: 1
content:
application/problem+json:
schema:
allOf:
- type: object
title: Problem Details
description: 'Bare RFC 9457 problem-details envelope. Returned by middleware-level errors
that don''t carry domain context: 401 Unauthorized (auth middleware),
429 Too Many Requests (rate-limit middleware), and route-level 404 / 405 /
415 (framework middleware).
Business and validation responses extend this envelope and add additional
fields — see `business-problem.model.yaml` (adds `code` slug) and
`validation-problem.model.yaml` (adds `errors[]` array).'
properties:
title:
type: string
description: Short, human-readable summary of the problem.
status:
type: integer
description: HTTP status code.
minimum: 100
maximum: 599
detail:
type: string
description: Human-readable explanation specific to this occurrence.
example:
title: Too Many Requests
status: 429
detail: API calls quota exceeded! maximum admitted 100 per 1m.
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Authenticate every request with a Bearer token. Pass your Reply API key in the
`Authorization` header:
```
Authorization: Bearer <your-api-key>
```
Get your API key from the Reply dashboard: **Settings → API Key**.'