Mailshake Recipients API

Recipients of a campaign.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

POST /recipients/add Add recipients to a campaign #
GET /recipients/add-status Check a recipient import #
POST /recipients/pause Pause a recipient #
POST /recipients/unpause Unpause a recipient #
POST /recipients/unsubscribe Unsubscribe email addresses #
GET /recipients/list List recipients of a campaign #
GET /recipients/get Get a recipient #
POST /recipients/remove Remove recipients from a campaign #

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/mailshake-com:mailshake-com-recipients-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

mailshake-com-recipients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailshake Recipients API
  version: '2017-04-01'
  description: The Mailshake API lets your software and AI assistants work with your Mailshake campaigns, recipients, leads, activity and sending mailboxes. Every operation answers any HTTP method; reads are documented as GET and writes as POST (campaigns/readiness-check, a read that takes a JSON body, is documented as POST). Parameters may be sent in the query string, as a JSON body, or as a form-encoded body. Every response body is JSON. Each call costs the quota units in `x-quota-units` (plus `x-quota-units-per-item` times the item count where set) from your hourly allowance.
servers:
- url: https://api.mailshake.com/2017-04-01
security:
- bearerKey: []
- oauth2: []
- apiKeyQuery: []
- basicKey: []
tags:
- name: Recipients
  description: Recipients of a campaign.
paths:
  /recipients/add:
    post:
      operationId: recipientsAdd
      tags:
      - Recipients
      summary: Add recipients to a campaign
      description: 'Asynchronously adds recipients from `listOfEmails`, `addresses` or `csvData` (alias `csvUpload`). `addresses` cannot be combined with CSV data. With none of them the call answers `isEmpty: true`. Poll recipients/add-status with `checkStatusID`. An archived campaign is refused (400, code `unspecified_error`).'
      x-scopes:
      - recipients:write
      x-quota-units: 20
      x-quota-units-per-item: 1
      x-mcp: write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipientsAddRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RecipientsAddRequest'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: The import was started (or nothing to import).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddRecipientsResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/add-status:
    get:
      operationId: recipientsAddStatus
      tags:
      - Recipients
      summary: Check a recipient import
      description: Reports whether an import started by recipients/add has finished and its problems. Only the token that started the import may read it (`not_authorized` otherwise).
      x-scopes:
      - recipients:read
      x-quota-units: 1
      x-mcp: read
      parameters:
      - name: statusID
        in: query
        required: true
        description: The `checkStatusID` from recipients/add.
        schema:
          type: string
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: Import status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddedRecipientsStatus'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/pause:
    post:
      operationId: recipientsPause
      tags:
      - Recipients
      summary: Pause a recipient
      description: Pauses sending for one unpaused recipient matched by email address (in `campaignID` if given, otherwise the first match on the team). Answers `not_found` (404) when no unpaused recipient matches.
      x-scopes:
      - recipients:write
      x-quota-units: 5
      x-mcp: write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipientsPauseRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RecipientsPauseRequest'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: The recipient as it was before the change.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Recipient'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/unpause:
    post:
      operationId: recipientsUnpause
      tags:
      - Recipients
      summary: Unpause a recipient
      description: Resumes sending for one paused recipient matched by email address (in `campaignID` if given). Answers `not_found` (404) when no paused recipient matches.
      x-scopes:
      - recipients:write
      x-quota-units: 10
      x-mcp: write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipientsUnpauseRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RecipientsUnpauseRequest'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: The recipient as it was before the change.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Recipient'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/unsubscribe:
    post:
      operationId: recipientsUnsubscribe
      tags:
      - Recipients
      summary: Unsubscribe email addresses
      description: Adds email addresses to the team's unsubscribe list.
      x-scopes:
      - recipients:write
      x-quota-units: 2
      x-mcp: write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipientsUnsubscribeRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RecipientsUnsubscribeRequest'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: Done.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmptyObject'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/list:
    get:
      operationId: recipientsList
      tags:
      - Recipients
      summary: List recipients of a campaign
      description: Lists a campaign's recipients, with search and activity filters.
      x-scopes:
      - recipients:read
      x-quota-units: 10
      x-mcp: read
      parameters:
      - name: campaignID
        in: query
        required: true
        schema:
          type: integer
      - name: filter
        in: query
        required: false
        description: Activity filter, sent as deep-object query keys, e.g. filter[action]=opened.
        style: deepObject
        explode: true
        schema:
          $ref: '#/components/schemas/RecipientFilter'
      - $ref: '#/components/parameters/Search'
      - $ref: '#/components/parameters/NextToken'
      - $ref: '#/components/parameters/PerPage'
      - $ref: '#/components/parameters/Page'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: A page of recipients.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecipientList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/get:
    get:
      operationId: recipientsGet
      tags:
      - Recipients
      summary: Get a recipient
      description: Gets one recipient by `recipientID`, or by `campaignID` plus `emailAddress` (an address without `@` is matched as a substring). Answers `not_found` (404) if missing.
      x-scopes:
      - recipients:read
      x-quota-units: 1
      x-mcp: read
      parameters:
      - name: recipientID
        in: query
        required: false
        schema:
          type: integer
      - name: campaignID
        in: query
        required: false
        description: Required when `emailAddress` is used.
        schema:
          type: integer
      - name: emailAddress
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: The recipient.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Recipient'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
  /recipients/remove:
    post:
      operationId: recipientsRemove
      tags:
      - Recipients
      summary: Remove recipients from a campaign
      description: 'Removes up to 100 recipients from one campaign; their queued messages are dropped. Every recipient must be in the campaign: if any is not (including another team''s), nothing is removed and the answer is 404 not_found listing them in data.recipientIDs.'
      x-scopes:
      - recipients:write
      x-quota-units: 1
      x-quota-units-per-item: 2
      x-mcp: write
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecipientsRemoveRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RecipientsRemoveRequest'
      responses:
        '200':
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
          description: The removed recipients.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecipientsRemoveResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    TooManyRequests:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/XRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/XRateLimitReset'
      description: 'Too many requests. limit_reached: the hourly quota is spent. rate_limited: more than the per-second velocity limit (25 requests per second per key by default, when enforced). Retry after `Retry-After` seconds.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: Unexpected error (internal_error).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: Object not found (not_found).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: Account or client state refuses the call (user_not_admin, user_is_disabled, team_blocked, app_not_approved, app_not_enabled, client_not_found, missing_subscription, expired_subscription), or sender_limit_reached on senders/add-smtp-imap.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: Validation or friendly error (e.g. missing_parameter, invalid_argument, missing_dependent_data, not_authorized, exceeds_monthly_recipients, OAuth2 request errors).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: Missing or invalid credentials, or missing OAuth2 scope (invalid_api_key, missing_team_admin, missing_scope, invalid_token, unauthorized_request).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      description: 'Conflict. idempotency_conflict: the Idempotency-Key was already used with a different request, or that request is still in progress. sender_already_exists (senders/add-smtp-imap): the mail account is already connected; the body includes its integrationID.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      additionalProperties: true
      required:
      - code
      - error
      - time
      properties:
        code:
          type: string
          description: Error code. Friendly errors thrown without a code report `unspecified_error`.
          enum:
          - missing_parameter
          - invalid_argument
          - missing_dependent_data
          - not_found
          - not_authorized
          - missing_scope
          - invalid_api_key
          - missing_team_admin
          - exceeds_monthly_recipients
          - limit_reached
          - unspecified_error
          - internal_error
          - export-failed
          - client_not_found
          - app_not_approved
          - app_not_enabled
          - user_not_admin
          - user_is_disabled
          - team_blocked
          - missing_subscription
          - expired_subscription
          - sender_already_exists
          - sender_limit_reached
          - smtp_connection_failed
          - imap_connection_failed
          - already-connected
          - invalid_request
          - invalid_client
          - invalid_grant
          - invalid_scope
          - invalid_token
          - insufficient_scope
          - unauthorized_client
          - unauthorized_request
          - unsupported_grant_type
          - unsupported_response_type
          - access_denied
          - server_error
          - unsupported_operation
          - already_exists
          - too_many_push_subscriptions
          - invalid_state
          - sending_paused
          - idempotency_conflict
          - rate_limited
          - confirmation_required
        error:
          type: string
          description: Human-readable message.
        time:
          type: string
          format: date-time
        integrationID:
          type: integer
          description: Only on sender_already_exists, the existing sender's integration.
        data:
          type: object
          additionalProperties: true
          description: Structured detail for some errors (for example the conflicting object). Present only when the error has public detail.
        requestId:
          type: string
          description: ID of this request, also sent as the X-Request-Id header. Quote it to support.
    RecipientsUnsubscribeRequest:
      type: object
      additionalProperties: true
      required:
      - emailAddresses
      properties:
        emailAddresses:
          type: string
          description: Comma-separated addresses.
    RecipientProblems:
      type: object
      additionalProperties: true
      properties:
        unsubscribedEmails:
          type: array
          items:
            type: string
        nonListedUnsubscribed:
          type: integer
        alreadyInCampaignEmails:
          type: array
          items:
            type: string
        nonListedAlreadyInCampaign:
          type: integer
        passedAccountLimitEmails:
          type: array
          items:
            type: string
        nonListedPassedAccountLimit:
          type: integer
        onGlobalListEmails:
          type: array
          items:
            type: string
        nonListedOnGlobalList:
          type: integer
        hasProblems:
          type: boolean
    RecipientAddress:
      type: object
      additionalProperties: true
      required:
      - emailAddress
      properties:
        emailAddress:
          type: string
        fullName:
          type: string
        phoneNumber:
          type: string
        facebookUrl:
          type: string
        instagramID:
          type: string
        linkedInUrl:
          type: string
        twitterID:
          type: string
        account:
          type: string
        fields:
          type: object
          additionalProperties: true
    RecipientsPauseRequest:
      type: object
      additionalProperties: true
      required:
      - emailAddress
      properties:
        campaignID:
          type: integer
          description: Optional in code; without it the first matching recipient on the team is used.
        emailAddress:
          type: string
    RecipientFilter:
      type: object
      additionalProperties: true
      required:
      - action
      properties:
        action:
          type: string
          enum:
          - opened
          - clicked
          - replied
          - wasSent
          - bounced
          - paused
          - hasProblems
        negateAction:
          type: boolean
          default: false
        campaignMessageID:
          type: integer
    RecipientsUnpauseRequest:
      type: object
      additionalProperties: true
      required:
      - emailAddress
      properties:
        campaignID:
          type: integer
          description: Optional in code; without it the first matching recipient on the team is used.
        emailAddress:
          type: string
    RecipientsRemoveRequest:
      type: object
      additionalProperties: true
      required:
      - campaignID
      - recipientIDs
      properties:
        campaignID:
          type: integer
        recipientIDs:
          type: array
          minItems: 1
          maxItems: 100
          items:
            type: integer
    RecipientCsvUpload:
      type: object
      additionalProperties: true
      description: One of csvRawData or link is required.
      properties:
        csvRawData:
          type: string
        link:
          type: string
          format: uri
        emailColumnName:
          type: string
        fullNameColumnName:
          type: string
        phoneNumberColumnName:
          type: string
        facebookUrlColumnName:
          type: string
        linkedInUrlColumnName:
          type: string
        instagramIDColumnName:
          type: string
        twitterIDColumnName:
          type: string
        accountColumnName:
          type: string
    RecipientsAddRequest:
      type: object
      additionalProperties: true
      required:
      - campaignID
      properties:
        campaignID:
          type: integer
        addToBatchID:
          type: integer
          description: Add to this recipient list of the campaign.
        addAsNewList:
          type: boolean
          default: false
        truncateExtraFields:
          type: boolean
          default: false
          description: Drop fields past the 30-field limit instead of refusing the request.
        listOfEmails:
          type: string
          description: Comma or newline separated addresses, optionally `"Name <email>"`.
        addresses:
          type: array
          items:
            $ref: '#/components/schemas/RecipientAddress'
          description: Also accepted as a JSON-encoded string.
        csvData:
          $ref: '#/components/schemas/RecipientCsvUpload'
        csvUpload:
          $ref: '#/components/schemas/RecipientCsvUpload'
    RecipientList:
      type: object
      additionalProperties: true
      required:
      - results
      properties:
        nextToken:
          type:
          - string
          - 'null'
        results:
          type: array
          items:
            $ref: '#/components/schemas/Recipient'
    EmptyObject:
      type: object
      additionalProperties: true
      description: An empty JSON object `{}`.
    Recipient:
      type: object
      additionalProperties: true
      required:
      - object
      - id
      properties:
        object:
          type: string
          const: recipient
        id:
          type: integer
        emailAddress:
          type: string
        fullName:
          type:
          - string
          - 'null'
        first:
          type: string
        last:
          type: string
        created:
          type: string
          format: date-time
        isPaused:
          type: boolean
        fields:
          type: object
          additionalProperties: true
          description: Text-replacement fields, plus account, phoneNumber, facebookUrl, instagramID, linkedInUrl, twitterID.
        contactID:
          type: integer
          description: Present on activity and lead items.
    AddedRecipientsStatus:
      type: object
      additionalProperties: true
      required:
      - isFinished
      properties:
        isFinished:
          type: boolean
        problems:
          $ref: '#/components/schemas/RecipientProblems'
    RecipientsRemoveResponse:
      type: object
      additionalProperties: true
      properties:
        campaignID:
          type: integer
        removedRecipientIDs:
          type: array
          items:
            type: integer
    AddRecipientsResult:
      type: object
      additionalProperties: true
      required:
      - invalidEmails
      - isEmpty
      properties:
        invalidEmails:
          type: array
          items:
            type: string
        isEmpty:
          type: boolean
        checkStatusID:
          type: string
          description: Absent when isEmpty is true.
        addingToBatchID:
          type: integer
          description: The recipient list (batch) the recipients go to.
  headers:
    XRateLimitRemaining:
      description: Approximate quota units left in this hour. Units are charged after each response, so this call's own cost is not yet included.
      schema:
        type: integer
    XRateLimitReset:
      description: Unix time (seconds) when the hourly quota window resets.
      schema:
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
    XRequestId:
      description: ID of this request. Quote it to support.
      schema:
        type: string
    XRateLimitLimit:
      description: Quota units per hour for this API client.
      schema:
        type: integer
  parameters:
    Page:
      name: page
      in: query
      required: false
      description: 1-based page number, an offset alternative to `nextToken` (for clients that cannot follow tokens).
      schema:
        type: integer
        minimum: 1
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: 'Optional on every write: 1 to 64 printable characters, unique per intended action. Retrying with the same key and the same request returns the first response (header `Idempotent-Replayed: true`) instead of acting twice. The same key with a different request is 409 `idempotency_conflict`. Keys are kept 24 hours; a 5xx answer is not kept, so a failed request can be retried with the same key.'
      schema:
        type: string
        minLength: 1
        maxLength: 64
    NextToken:
      name: nextToken
      in: query
      required: false
      description: The `nextToken` of a previous page.
      schema:
        type: string
    Search:
      name: search
      in: query
      required: false
      description: Substring search.
      schema:
        type: string
    PerPage:
      name: perPage
      in: query
      required: false
      description: Results per page, up to 100.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 100
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: 'Recommended. `Authorization: Bearer <api key>`. The same header also takes an OAuth access token: a value that is not an API key is checked as an OAuth token.'
    apiKeyQuery:
      type: apiKey
      in: query
      name: apiKey
      description: Deprecated (still works). The team's API key as the `apiKey` query or body parameter. Use bearerKey.
    basicKey:
      type: http
      scheme: basic
      description: Deprecated (still works). The API key as the basic-auth username, with an empty password (`-u key:`). Use bearerKey.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.mailshake.com/oauth/
          tokenUrl: https://api.mailshake.com/2017-04-01/token
          refreshUrl: https://api.mailshake.com/2017-04-01/token
          scopes:
            campaigns:read: Read campaigns, their activity (sent, opens, clicks) and exports.
            campaigns:write: Create, pause and resume campaigns.
            recipients:read: Read recipients.
            recipients:write: Add, pause, resume and unsubscribe recipients.
            leads:read: Read leads and lead activity.
            leads:write: Create, close, ignore and reopen leads.
            senders:read: Read sending mailboxes.
            senders:write: Add, update and remove sending mailboxes.
            stats:read: Read campaign and mailbox statistics.
            replies:read: Read replies.
            replies:send: Send email replies on your behalf. Never implied by campaign-write.
            webhooks:manage: Create and delete webhook (push) subscriptions.
            team:read: Read team members and team info.
            datafinder:spend: Spend Data Finder credits. Never implied by campaign-write.
            campaign-read: Legacy. Grants every `:read` scope.
            campaign-write: Legacy. Grants every `:write` scope and webhooks:manage, but not replies:send or datafinder:spend.
x-any-method: true