Reply.io AI SDR Sequence Preview API

Read and regenerate per-contact previews of the messages a sequence will send, and provide feedback on preview messages

GitHub OpenAPI

Operations 2

POST /v3/sequences/ai-sdr/{sequence_id}/contacts/{contact_id}/preview/steps/{step_id}/feedback Submit feedback on a preview step #
POST /v3/sequences/ai-sdr/{sequence_id}/contacts/{contact_id}/preview/personalize Personalize the preview for a contact #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reply-io:reply-io-ai-sdr-sequence-preview-api"
All apis
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.

Get an API 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 Specification

reply-io-ai-sdr-sequence-preview-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.0
  title: Reply AI SDR Sequence Preview API
  description: API for managing email sequences, contacts, and automation workflows
servers:
- url: https://api.reply.io
security:
- bearerAuth: []
tags:
- name: AI SDR Sequence Preview
  description: Read and regenerate per-contact previews of the messages a sequence will send, and provide feedback on preview messages
paths:
  /v3/sequences/ai-sdr/{sequence_id}/contacts/{contact_id}/preview/steps/{step_id}/feedback:
    post:
      tags:
      - AI SDR Sequence Preview
      summary: Submit feedback on a preview step
      x-mint:
        metadata:
          tag: CS
      description: '**Coming soon.** This endpoint will be available by late November 2026.


        Use this endpoint when you need to record a reaction to the AI-generated message for one step of a contact''s preview — set vote to like or dislike. When the vote is dislike you can add dislikeReasons to categorize what was wrong, and comment carries a freeform note alongside either vote. The feedback is kept as a training signal for the AI SDR; a successful call returns no content. The AI SDR feature must be enabled for your team.'
      operationId: SubmitPreviewStepFeedback
      parameters:
      - name: sequence_id
        in: path
        required: true
        description: Sequence id
        schema:
          type: integer
          minimum: 1
      - name: contact_id
        in: path
        required: true
        description: Contact id
        schema:
          type: integer
          minimum: 1
      - name: step_id
        in: path
        required: true
        description: Sequence step id
        schema:
          type: integer
          minimum: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - vote
              properties:
                vote:
                  type: string
                  enum:
                  - like
                  - dislike
                dislikeReasons:
                  type: array
                  description: Categorized reasons when `vote` is `dislike`. The exact enum is still being finalized — coming soon.
                  items:
                    type: string
                comment:
                  type: string
                  description: Freeform comment from the user
      responses:
        '204':
          description: Feedback recorded
        '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: AI SDR feature is not available for the caller's 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
        '404':
          description: Sequence, contact, step, or preview message not found
          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: Not Found
                    status: 404
                    detail: The requested resource was not found.
                    code: sequence.notFound
  /v3/sequences/ai-sdr/{sequence_id}/contacts/{contact_id}/preview/personalize:
    post:
      tags:
      - AI SDR Sequence Preview
      summary: Personalize the preview for a contact
      x-required-scope: ai-sdr:write
      description: '_Requires the `ai-sdr:write` scope (or a broader one that includes it)._


        Have the AI write or rewrite the messages one contact will get in an AI SDR sequence. Runs in the background across their steps.'
      operationId: PersonalizeSequencePreview
      parameters:
      - name: sequence_id
        in: path
        required: true
        description: Sequence id
        schema:
          type: integer
          minimum: 1
      - name: contact_id
        in: path
        required: true
        description: Contact id
        schema:
          type: integer
          minimum: 1
      responses:
        '202':
          description: Personalization accepted; poll the returned job for progress
          content:
            application/json:
              schema:
                type: object
                required:
                - jobId
                properties:
                  jobId:
                    type: string
                    format: uuid
                    description: Background job id; poll `GET /v3/background-jobs/{id}`.
        '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: AI SDR feature is not available for the caller's 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: AI SDR personalization is not available for this sequence.
                code: salesAgentPreview.forbidden
        '404':
          description: Sequence or contact not found
          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: Not Found
                    status: 404
                    detail: The requested resource was not found.
                    code: sequence.notFound
              example:
                title: Not Found
                status: 404
                detail: Contact 200 was not found in sequence 100.
                code: salesAgentPreview.notFound
        '409':
          description: 'Personalization could not be started. The `code` distinguishes the cause:

            `salesAgentPreview.noPersonalizableSteps` (the sequence has no steps with AI personalization enabled),

            `salesAgentPreview.activePersonalizationsLimitExceeded` (the sequence is already at its active-personalization limit),

            or `salesAgentPreview.alreadyInProgress` (personalization for this contact is already running).'
          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: Conflict
                    status: 409
                    detail: A resource with this name already exists.
                    code: sequence.duplicateName
              example:
                title: Conflict
                status: 409
                detail: Personalization is already in progress for contact 200 in sequence 100.
                code: salesAgentPreview.alreadyInProgress
        '500':
          description: Personalization could not be started due to an unexpected internal error
          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.
                - 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: Internal Server Error
                status: 500
                detail: Personalization could not be started for contact 200 in sequence 100 due to internal error
                code: salesAgentPreview.unknown
        '502':
          description: Upstream service failure
          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 Gateway
                status: 502
                detail: 'Upstream service failure: ...'
                code: salesAgentPreview.upstreamFailure
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**.'