> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fuseai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a connection invitation

> Sends a LinkedIn connection invitation from one of your LinkedIn accounts (seats), or one shared with you, as the app does: within the account's daily and weekly invitation allowances, with an optional `note` of up to 200 characters (omit it, or send it empty, to invite without one). LinkedIn refuses a second invitation to someone the account invited recently (409), and a LinkedIn pause on the account answers 429 `LINKEDIN_ACCOUNT_RATE_LIMITED`. The answer names the invited person; the invitation then shows in GET /business/linkedin/invitations?type=sent. Send an `X-Idempotency-Key` header of 8 to 200 characters to make retries safe: the same request with the same key within 24 hours answers the first result and sends nothing, and the key on a different request answers 409. A first request refused before anything was sent (any 4xx) can be retried under its key; one that failed in a way that may still have sent it answers 409 `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` instead of sending again. Rate limit: 20 requests per minute, 600 per day, shared with the conversation replies and new messages.

Errors:
- `422` `VALIDATION_FAILED` — `accountId` is missing, `linkedinUrl` is not a LinkedIn profile URL, `note` is longer than 200 characters, the body carries another field, or the `X-Idempotency-Key` header was sent with a value outside 8-200 characters, or twice.
- `409` `IDEMPOTENCY_KEY_IN_USE` — A request with this `X-Idempotency-Key` is still sending; retry it shortly to get its result. If it keeps answering this, the first request stopped before its result was recorded: check whether it was sent before sending again with a new key.
- `409` `IDEMPOTENCY_KEY_REUSED` — This `X-Idempotency-Key` was sent in the last 24 hours with a different request; nothing was sent.
- `409` `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` — The first request with this `X-Idempotency-Key` failed in a way that may still have sent it (a server error or a timeout), so nothing more was sent. Check whether it was sent before sending again with a new key.
- `404` `LINKEDIN_ACCOUNT_NOT_FOUND` — `accountId` is not a LinkedIn account you own or that is shared with you to send from.
- `422` `LINKEDIN_ACCOUNT_DISCONNECTED` — The LinkedIn account is disconnected; reconnect it in the app.
- `429` `LINKEDIN_ACCOUNT_RATE_LIMITED` — LinkedIn is limiting the account for now and Fuse holds its sends, for up to a day; nothing was sent. Retry-After, when present, is the seconds left until the hold ends.
- `422` `LINKEDIN_INVITATION_LIMIT_REACHED` — The account has sent its daily or weekly invitations; retry once they refill.
- `409` `LINKEDIN_INVITATION_ALREADY_SENT` — The account invited this person recently, and LinkedIn refuses another invitation for weeks.
- `422` `LINKEDIN_PROFILE_NOT_FOUND` — LinkedIn found no profile at `linkedinUrl` (renamed or removed); nothing was sent.
- `429` `RATE_LIMITED` — Too many sends: the quota every send route shares (20 per minute, 600 per day) or, on LinkedIn, the LinkedIn service's own per-user send limit was exceeded. Retry after the Retry-After / RateLimit-Reset seconds when present, else after a minute.

Requires one of the following token scopes: inbox.



## OpenAPI

````yaml /openapi.json post /business/linkedin/invitations
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: LinkedIn
  - name: Conversations
  - name: Account
  - name: Sending accounts
  - name: Data
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Tracking domains
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Exclusions
  - name: Contacts
paths:
  /business/linkedin/invitations:
    post:
      tags:
        - LinkedIn
      summary: Send a connection invitation
      description: >-
        Sends a LinkedIn connection invitation from one of your LinkedIn
        accounts (seats), or one shared with you, as the app does: within the
        account's daily and weekly invitation allowances, with an optional
        `note` of up to 200 characters (omit it, or send it empty, to invite
        without one). LinkedIn refuses a second invitation to someone the
        account invited recently (409), and a LinkedIn pause on the account
        answers 429 `LINKEDIN_ACCOUNT_RATE_LIMITED`. The answer names the
        invited person; the invitation then shows in GET
        /business/linkedin/invitations?type=sent. Send an `X-Idempotency-Key`
        header of 8 to 200 characters to make retries safe: the same request
        with the same key within 24 hours answers the first result and sends
        nothing, and the key on a different request answers 409. A first request
        refused before anything was sent (any 4xx) can be retried under its key;
        one that failed in a way that may still have sent it answers 409
        `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` instead of sending again. Rate limit:
        20 requests per minute, 600 per day, shared with the conversation
        replies and new messages.


        Errors:

        - `422` `VALIDATION_FAILED` — `accountId` is missing, `linkedinUrl` is
        not a LinkedIn profile URL, `note` is longer than 200 characters, the
        body carries another field, or the `X-Idempotency-Key` header was sent
        with a value outside 8-200 characters, or twice.

        - `409` `IDEMPOTENCY_KEY_IN_USE` — A request with this
        `X-Idempotency-Key` is still sending; retry it shortly to get its
        result. If it keeps answering this, the first request stopped before its
        result was recorded: check whether it was sent before sending again with
        a new key.

        - `409` `IDEMPOTENCY_KEY_REUSED` — This `X-Idempotency-Key` was sent in
        the last 24 hours with a different request; nothing was sent.

        - `409` `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` — The first request with this
        `X-Idempotency-Key` failed in a way that may still have sent it (a
        server error or a timeout), so nothing more was sent. Check whether it
        was sent before sending again with a new key.

        - `404` `LINKEDIN_ACCOUNT_NOT_FOUND` — `accountId` is not a LinkedIn
        account you own or that is shared with you to send from.

        - `422` `LINKEDIN_ACCOUNT_DISCONNECTED` — The LinkedIn account is
        disconnected; reconnect it in the app.

        - `429` `LINKEDIN_ACCOUNT_RATE_LIMITED` — LinkedIn is limiting the
        account for now and Fuse holds its sends, for up to a day; nothing was
        sent. Retry-After, when present, is the seconds left until the hold
        ends.

        - `422` `LINKEDIN_INVITATION_LIMIT_REACHED` — The account has sent its
        daily or weekly invitations; retry once they refill.

        - `409` `LINKEDIN_INVITATION_ALREADY_SENT` — The account invited this
        person recently, and LinkedIn refuses another invitation for weeks.

        - `422` `LINKEDIN_PROFILE_NOT_FOUND` — LinkedIn found no profile at
        `linkedinUrl` (renamed or removed); nothing was sent.

        - `429` `RATE_LIMITED` — Too many sends: the quota every send route
        shares (20 per minute, 600 per day) or, on LinkedIn, the LinkedIn
        service's own per-user send limit was exceeded. Retry after the
        Retry-After / RateLimit-Reset seconds when present, else after a minute.


        Requires one of the following token scopes: inbox.
      operationId: sendLinkedinInvitation
      parameters:
        - name: X-Idempotency-Key
          in: header
          required: false
          description: >-
            Makes a retry safe: the same request with the same key within 24
            hours answers the first result and sends nothing. 8 to 200
            characters; a blank header counts as none.
          schema:
            type: string
            minLength: 8
            maxLength: 200
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountId:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: >-
                    The LinkedIn account (seat) to send from, by the `id` GET
                    /business/accounts?channel=linkedin returns: your own seat,
                    or one shared with you.
                linkedinUrl:
                  type: string
                  maxLength: 500
                  description: >-
                    The LinkedIn profile URL of the person to invite, for
                    example `https://www.linkedin.com/in/jane-doe` (max 500
                    characters).
                note:
                  type: string
                  maxLength: 200
                  description: >-
                    The note sent with the invitation, up to 200 characters, the
                    note a campaign's connection step allows. Omit it, or send
                    an empty string, to invite without a note.
              required:
                - accountId
                - linkedinUrl
      responses:
        '201':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  invitation:
                    type: object
                    properties:
                      invitationId:
                        type:
                          - string
                          - 'null'
                      accountId:
                        type: string
                      publicIdentifier:
                        type:
                          - string
                          - 'null'
                        description: The invited person's LinkedIn public identifier.
                      linkedinUrl:
                        type:
                          - string
                          - 'null'
                        description: The invited person's profile URL.
                    required:
                      - invitationId
                      - accountId
                      - publicIdentifier
                      - linkedinUrl
                required:
                  - invitation
              example:
                invitation:
                  invitationId: '7392847562918374512'
                  accountId: t5XY4yQzR9WVrln3bvG3Jw
                  publicIdentifier: jane-doe
                  linkedinUrl: https://www.linkedin.com/in/jane-doe
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.