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

> ## Agent Instructions
> Base URL: https://api.social-api.ai/v1. Send your API key in the Authorization header: Authorization: Bearer <your API key>.
> Every error response from /v1 is JSON: { "error": { "code", "message", "meta" (optional) }, "request_id" }. Branch on error.code; use error.message only for logs.
> A 429 response carries a Retry-After header, in seconds, when the limit has a known wait. Authenticated responses can carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset for the per-minute request budget your SocialAPI account shares across every API key (see /guides/rate-limits).
> Paginated list endpoints return next_cursor, at the top level or inside pagination (see /guides/pagination). Pass it as the cursor query parameter to get the next page. An absent or empty next_cursor means you have the last page.
> Treat every ID as an opaque string: do not parse it or assume a format.
> Support differs by platform and by operation. Check /platforms/overview before assuming an operation works on a platform. An unsupported operation returns 501 with error.code resource.not_supported.

# Redeem an invite link

> Public endpoint (no auth). Validates the invite token and redirects the user
to the platform's OAuth authorization page. On successful OAuth callback,
the account is connected to the invite creator's brand.



## OpenAPI

````yaml /api-reference/openapi.json get /invite/{token}
openapi: 3.0.0
info:
  description: >-
    Unified social media inbox API. Read and respond to comments, DMs, reviews,
    and mentions across Instagram, Facebook, Threads, Google Business Profile,
    TikTok, LinkedIn, and YouTube through a single REST API. X/Twitter and
    Trustpilot coming soon.
  title: SocialAPI.AI
  contact:
    name: SocialAPI.AI Support
    email: support@social-api.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.social-api.ai/v1
security: []
paths:
  /invite/{token}:
    get:
      tags:
        - Invites
      summary: Redeem an invite link
      description: >-
        Public endpoint (no auth). Validates the invite token and redirects the
        user

        to the platform's OAuth authorization page. On successful OAuth
        callback,

        the account is connected to the invite creator's brand.
      parameters:
        - description: Invite token
          name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '302':
          description: Redirect to platform OAuth
        '404':
          description: Invite not found
          content:
            '*/*':
              schema:
                type: string
        '410':
          description: Invite expired or already used
          content:
            '*/*':
              schema:
                type: string

````

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