> ## 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.

# Create a LinkedIn connect link

> A hosted LinkedIn sign-in link that connects a new LinkedIn seat, as the app's Add LinkedIn account does. Send the person to `url` (valid for 24 hours); once they sign in, the seat appears in GET /business/accounts?channel=linkedin. The seat is billed as in the app: 2,500 credits when it connects and every 30 days after; with too few credits the connection is refused and the seat removed. Pass `successUrl` and `failureUrl` to send the person to your own pages afterwards, when your account has addresses approved for this; otherwise leave both out. Rate limit: 20 requests per minute, 600 per day, shared by every route under /business/accounts/ except the SMTP import and its status.

Errors:
- `403` `LINKEDIN_ACCOUNT_LIMIT_REACHED` — Every LinkedIn seat on your plan is in use.
- `422` `RETURN_URL_NOT_ALLOWED` — `successUrl` or `failureUrl` is not an address approved for your account.
- `422` `VALIDATION_FAILED` — `successUrl` or `failureUrl` is not an https address, or only one of them was sent.
- `429` `RATE_LIMITED` — The quota for the /business/accounts/ routes (20 per minute, 600 per day) is spent, or the LinkedIn service's own per-user limit refused the call. Retry after the Retry-After / RateLimit-Reset seconds when present, else after a minute.

Requires one of the following token scopes: accounts.



## OpenAPI

````yaml /openapi.json post /business/accounts/linkedin/connect-links
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/accounts/linkedin/connect-links:
    post:
      tags:
        - Sending accounts
      summary: Create a LinkedIn connect link
      description: >-
        A hosted LinkedIn sign-in link that connects a new LinkedIn seat, as the
        app's Add LinkedIn account does. Send the person to `url` (valid for 24
        hours); once they sign in, the seat appears in GET
        /business/accounts?channel=linkedin. The seat is billed as in the app:
        2,500 credits when it connects and every 30 days after; with too few
        credits the connection is refused and the seat removed. Pass
        `successUrl` and `failureUrl` to send the person to your own pages
        afterwards, when your account has addresses approved for this; otherwise
        leave both out. Rate limit: 20 requests per minute, 600 per day, shared
        by every route under /business/accounts/ except the SMTP import and its
        status.


        Errors:

        - `403` `LINKEDIN_ACCOUNT_LIMIT_REACHED` — Every LinkedIn seat on your
        plan is in use.

        - `422` `RETURN_URL_NOT_ALLOWED` — `successUrl` or `failureUrl` is not
        an address approved for your account.

        - `422` `VALIDATION_FAILED` — `successUrl` or `failureUrl` is not an
        https address, or only one of them was sent.

        - `429` `RATE_LIMITED` — The quota for the /business/accounts/ routes
        (20 per minute, 600 per day) is spent, or the LinkedIn service's own
        per-user limit refused the call. Retry after the Retry-After /
        RateLimit-Reset seconds when present, else after a minute.


        Requires one of the following token scopes: accounts.
      operationId: createLinkedinConnectLink
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                successUrl:
                  type: string
                  maxLength: 2048
                  description: >-
                    Where the person is sent after signing in, an https address
                    approved for your account. Send it with `failureUrl`; leave
                    both out to use the default page.
                failureUrl:
                  type: string
                  maxLength: 2048
                  description: >-
                    Where the person is sent when signing in fails, an https
                    address approved for your account. Send it with
                    `successUrl`.
      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:
                  url:
                    type: string
                    description: The sign-in page to send the person to.
                required:
                  - url
              example:
                url: https://auth.tryfuse.ai/pqTx5Ew3VWr2q8Kc
        '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.