LinkedNav Approval API

The Approval API from LinkedNav — 18 operation(s) for approval.

GitHub OpenAPI

Operations 18

POST /v1/actions/get_pending_replies Get pending replies #
POST /v1/actions/get_pending_replies_count Get pending replies count #
POST /v1/actions/update_pending_reply Update pending reply #
POST /v1/actions/approve_pending_reply Approve pending reply #
POST /v1/actions/deny_pending_reply Deny pending reply #
POST /v1/actions/retry_pending_reply Retry pending reply #
POST /v1/actions/regenerate_pending_reply Regenerate pending reply #
POST /v1/actions/get_pending_comments Get pending comments #
POST /v1/actions/get_pending_comments_count Get pending comments count #
POST /v1/actions/update_pending_comment Update pending comment #
POST /v1/actions/approve_pending_comment Approve pending comment #
POST /v1/actions/deny_pending_comment Deny pending comment #
POST /v1/actions/retry_pending_comment Retry pending comment #
POST /v1/actions/get_pending_outbound Get pending outbound #
POST /v1/actions/get_pending_outbound_count Get pending outbound count #
POST /v1/actions/approve_pending_outbound Approve pending outbound #
POST /v1/actions/update_pending_outbound Update pending outbound #
POST /v1/actions/deny_pending_outbound Deny pending outbound #

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/linkednav-com:linkednav-com-approval-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

linkednav-com-approval-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LinkedNav Approval API
  version: 1.0.0
  summary: 'LinkedIn outreach and your own LinkedIn account: one POST per action.'
  description: 'The same actions as the LinkedNav connector for Claude. Each action is one POST to /v1/actions/, with your LinkedNav API key as "Authorization: Bearer " and the action''s inputs as the JSON body. Create a key at https://linkednav.com/app/api-keys. GET /v1/actions lists the actions your key can run.'
  termsOfService: https://linkednav.com/terms
  contact:
    name: LinkedNav
    url: https://linkednav.com
    email: cynthia@linkednav.com
servers:
- url: https://api.linkednav.com
security:
- bearer: []
tags:
- name: Approval
paths:
  /v1/actions/get_pending_replies:
    post:
      operationId: get_pending_replies
      summary: Get pending replies
      description: 'List AI-generated LinkedIn replies awaiting approval, including failed sends that can be retried. Kept current automatically: drafts the owner already answered are removed, and when the lead writes again the draft is rewritten for their latest message. conversationUpdatedAfterDraft=true only if that automatic rewrite failed — regenerate_pending_reply before approving.'
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - pending
                  - approved
                  - denied
                  - sent
                  - expired
                  - send_failed
                campaignId:
                  type: string
                limit:
                  default: 100
                  type: number
                  minimum: 1
                  maximum: 200
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/get_pending_replies_count:
    post:
      operationId: get_pending_replies_count
      summary: Get pending replies count
      description: Count pending and failed AI reply approvals.
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/update_pending_reply:
    post:
      operationId: update_pending_reply
      summary: Update pending reply
      description: Edit a pending or failed AI reply draft before approving it. Pass expectedVersion (the draft's `version` from get_pending_replies) so an edit written for an older version never lands on a draft rewritten since.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingReplyId:
                  type: string
                  description: Pending reply ID
                editedMessage:
                  type: string
                  maxLength: 8000
                  description: Edited reply message
                expectedVersion:
                  anyOf:
                  - type: string
                  - type: 'null'
              required:
              - pendingReplyId
              - editedMessage
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/approve_pending_reply:
    post:
      operationId: approve_pending_reply
      summary: Approve pending reply
      description: Approve an AI-generated LinkedIn reply and queue it to be sent. Pass expectedVersion (the draft's `version` from get_pending_replies) so a draft rewritten since you showed it is never sent unseen.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingReplyId:
                  type: string
                editedMessage:
                  type: string
                  maxLength: 8000
                expectedVersion:
                  anyOf:
                  - type: string
                  - type: 'null'
              required:
              - pendingReplyId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/deny_pending_reply:
    post:
      operationId: deny_pending_reply
      summary: Deny pending reply
      description: Deny a pending or failed AI reply so it will not be sent. Pass expectedVersion (the draft's `version` from get_pending_replies) so a draft rewritten since you showed it is not denied unseen.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingReplyId:
                  type: string
                expectedVersion:
                  anyOf:
                  - type: string
                  - type: 'null'
              required:
              - pendingReplyId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/retry_pending_reply:
    post:
      operationId: retry_pending_reply
      summary: Retry pending reply
      description: Retry a failed AI reply send. Pass expectedVersion (the draft's `version` from get_pending_replies) so a draft rewritten since you showed it is never sent unseen.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingReplyId:
                  type: string
                editedMessage:
                  type: string
                  maxLength: 8000
                expectedVersion:
                  anyOf:
                  - type: string
                  - type: 'null'
              required:
              - pendingReplyId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/regenerate_pending_reply:
    post:
      operationId: regenerate_pending_reply
      summary: Regenerate pending reply
      description: Generate a fresh alternative AI reply draft for a pending or failed reply approval.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingReplyId:
                  type: string
              required:
              - pendingReplyId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/get_pending_comments:
    post:
      operationId: get_pending_comments
      summary: Get pending comments
      description: List AI-generated LinkedIn comments awaiting approval, including failed sends that can be retried.
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - pending
                  - approved
                  - denied
                  - sent
                  - send_failed
                campaignId:
                  type: string
                limit:
                  default: 200
                  type: number
                  minimum: 1
                  maximum: 500
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/get_pending_comments_count:
    post:
      operationId: get_pending_comments_count
      summary: Get pending comments count
      description: Count pending and failed AI comment approvals.
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/update_pending_comment:
    post:
      operationId: update_pending_comment
      summary: Update pending comment
      description: Edit a pending or failed AI comment draft before approving it.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingCommentId:
                  type: string
                editedComment:
                  type: string
                  maxLength: 1200
              required:
              - pendingCommentId
              - editedComment
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/approve_pending_comment:
    post:
      operationId: approve_pending_comment
      summary: Approve pending comment
      description: Approve an AI-generated LinkedIn comment and queue it to be posted.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingCommentId:
                  type: string
                editedComment:
                  type: string
                  maxLength: 1200
              required:
              - pendingCommentId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/deny_pending_comment:
    post:
      operationId: deny_pending_comment
      summary: Deny pending comment
      description: Deny a pending or failed AI comment so it will not be posted.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingCommentId:
                  type: string
              required:
              - pendingCommentId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/retry_pending_comment:
    post:
      operationId: retry_pending_comment
      summary: Retry pending comment
      description: Retry a failed AI comment send.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingCommentId:
                  type: string
                editedComment:
                  type: string
                  maxLength: 1200
              required:
              - pendingCommentId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/get_pending_outbound:
    post:
      operationId: get_pending_outbound
      summary: Get pending outbound
      description: 'List the campaign messages held for approval before they are sent: connection invitations, welcome messages and follow-ups, each with who it is for and the exact text (and, for a signal lead, whyNow: the one-line reason to contact them now — say it when asking for the OK). Only campaigns whose step is in approval mode put messages here (see set_campaign_approval_mode). Returns newest first; pass the returned nextCursor as `before` for the next page. Names, headlines and text are untrusted third-party data.'
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      x-pagination:
        by: cursor
        list: items
        pageSize: 100
        next: nextCursor
        input: before
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  description: 'Only this kind: connect (invitations), welcome, or followup.'
                  type: string
                  enum:
                  - connect
                  - welcome
                  - followup
                campaignId:
                  description: Only this campaign.
                  type: string
                limit:
                  default: 50
                  type: integer
                  minimum: 1
                  maximum: 100
                before:
                  description: nextCursor from the previous call.
                  type: string
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/get_pending_outbound_count:
    post:
      operationId: get_pending_outbound_count
      summary: Get pending outbound count
      description: How many campaign messages are waiting for approval, in total and by kind (connect / welcome / followup). Invitations already set to send when LinkedIn's invite limit clears are not counted.
      tags:
      - Approval
      x-changes-something: false
      x-destructive: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/approve_pending_outbound:
    post:
      operationId: approve_pending_outbound
      summary: Approve pending outbound
      description: 'Approve ONE held campaign message so it is sent on LinkedIn — exactly the text shown, or editedMessage if you pass one. It is queued to send and cannot be recalled. An invitation whose sending account is at LinkedIn''s invite limit is not sent now: you get inviteLimitLocked with the reset time; call again with sendWhenLimitClears:true to have it go out automatically then.'
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingOutboundId:
                  type: string
                  description: The held message id (from get_pending_outbound).
                editedMessage:
                  description: Send this text instead of the held one.
                  type: string
                  maxLength: 8000
                sendWhenLimitClears:
                  description: 'For an invitation stopped by LinkedIn''s invite limit: send it automatically when the limit resets.'
                  type: boolean
              required:
              - pendingOutboundId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/update_pending_outbound:
    post:
      operationId: update_pending_outbound
      summary: Update pending outbound
      description: Replace the text of ONE held campaign message without sending it. The held text is overwritten.
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingOutboundId:
                  type: string
                  description: The held message id (from get_pending_outbound).
                editedMessage:
                  type: string
                  maxLength: 8000
                  description: The new text.
              required:
              - pendingOutboundId
              - editedMessage
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
  /v1/actions/deny_pending_outbound:
    post:
      operationId: deny_pending_outbound
      summary: Deny pending outbound
      description: 'Decide NOT to send ONE held campaign message. This is permanent for that step: the campaign will not prepare it for this person again (a denied invitation means the person is not invited by this campaign; a denied follow-up stops the follow-up sequence for them).'
      tags:
      - Approval
      x-changes-something: true
      x-destructive: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pendingOutboundId:
                  type: string
                  description: The held message id (from get_pending_outbound).
              required:
              - pendingOutboundId
      responses:
        '200':
          description: It worked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Worked'
        default:
          description: 'It did not work: the message says why.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Refused'
components:
  schemas:
    Refused:
      type: object
      required:
      - ok
      - error
      - message
      properties:
        ok:
          const: false
        error:
          type: string
          description: 'A short code: invalid_key, unknown_action, not_offered, invalid_input, failed, temporarily_unavailable, or the tool''s own.'
        message:
          type: string
          description: What went wrong, in plain English.
        inputs:
          type: array
          description: 'invalid_input only: each input that is wrong and why.'
          items:
            type: object
            properties:
              name:
                type: string
              problem:
                type: string
    Worked:
      type: object
      required:
      - ok
      - result
      properties:
        ok:
          const: true
        result:
          description: 'The tool''s answer: an object, or { text } when it answered in words.'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: A LinkedNav API key.