ReelDrop Instagram API

The instagram API from ReelDrop — 12 operation(s) for instagram.

GitHub OpenAPI

Operations 13

GET /instagram/connection Get Connection #
DELETE /instagram/connection Disconnect #
GET /instagram/profile-stats Get Profile Stats #
GET /instagram/latest-reel Get Latest Reel #
GET /instagram/handle-suggestions Get Handle Suggestions #
GET /instagram/media List Media #
POST /instagram/media/check Check Media #
POST /instagram/media/resolve Resolve Media #
GET /instagram/stories List Stories #
POST /instagram/subscribe-webhooks Subscribe Webhooks #
POST /instagram/publish-reel Publish Reel Endpoint #
GET /instagram/trial-reels/usage Get Trial Reel Usage #
POST /instagram/publish-story Publish Story Endpoint #

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/reeldrop-io:reeldrop-io-instagram-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

reeldrop-io-instagram-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ReelDrop Instagram API
  version: 0.1.0
tags:
- name: Instagram
paths:
  /instagram/connection:
    get:
      tags:
      - Instagram
      summary: Get Connection
      operationId: get_connection_instagram_connection_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgConnectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Instagram
      summary: Disconnect
      operationId: disconnect_instagram_connection_delete
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/profile-stats:
    get:
      tags:
      - Instagram
      summary: Get Profile Stats
      description: 'The connected account''s public profile fields and follower/post counts.


        Deliberately separate from GET /connection, which several screens call on

        every load and must stay cheap — this one hits the Graph API. Counts drift and

        accounts connected before they were stored have none, so it fetches live and

        refreshes the row; when the call fails (revoked token, Meta outage) it degrades

        to whatever was stored rather than erroring, and the caller renders no counts.'
      operationId: get_profile_stats_instagram_profile_stats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IgProfileStatsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/latest-reel:
    get:
      tags:
      - Instagram
      summary: Get Latest Reel
      operationId: get_latest_reel_instagram_latest_reel_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LatestReelResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/handle-suggestions:
    get:
      tags:
      - Instagram
      summary: Get Handle Suggestions
      description: 'Handles for the composer''s @mention and collaborator pickers.


        Instagram''s API has no user search, so these are people we already know: everyone who has

        DMed the connected account, newest first. The browser merges them with the handles it keeps

        locally. Best-effort by design: with no account connected there is nothing to suggest, and

        that is an empty list, not an error that would surface under someone''s cursor mid-sentence.'
      operationId: get_handle_suggestions_instagram_handle_suggestions_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 64
          description: What follows the @ so far; empty returns the newest.
          default: ''
          title: Q
        description: What follows the @ so far; empty returns the newest.
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandleSuggestionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/media:
    get:
      tags:
      - Instagram
      summary: List Media
      description: 'Posts/reels for the connected account, newest first, one page at a time — used to

        target automations to a specific post. `after` is a previous page''s next_cursor.'
      operationId: list_media_instagram_media_get
      security:
      - HTTPBearer: []
      parameters:
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 1024
          - type: 'null'
          title: After
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/media/check:
    post:
      tags:
      - Instagram
      summary: Check Media
      description: 'Which of these media ids no longer exist on Instagram.


        The media picker lists the newest posts a page at a time, so "not in the list" also

        describes a live post that is simply older than what has loaded. The automation builder asks this about the selected ids

        it cannot find in the list before telling anyone a post is gone.'
      operationId: check_media_instagram_media_check_post
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MediaCheckRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaCheckResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/media/resolve:
    post:
      tags:
      - Instagram
      summary: Resolve Media
      description: 'The post or reel a pasted Instagram link points at, for the automation builder''s

        "paste a link" field: someone whose reel is older than the pages the picker has

        loaded, or who has the link open in Instagram, ticks it without scrolling.


        Matched on the shortcode, so /reel/, /reels/, /p/ and a username-prefixed share

        link all find the same post. Only this account''s own media can match: a collab

        someone else published is on their account, and the API never lists it here.

        The same lookup the MCP server offers as resolve_reel_by_link.'
      operationId: resolve_media_instagram_media_resolve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MediaResolveRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaItemOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/stories:
    get:
      tags:
      - Instagram
      summary: List Stories
      description: 'Currently-live stories (the ~24h active window) for the connected account.


        Used to scope a story_reply automation to one specific live story: the id

        returned here is the same media id that arrives on the reply webhook

        (message.reply_to.story.id), so selecting one and storing it in the

        automation''s post_ids makes the engine fire only on replies to that story.'
      operationId: list_stories_instagram_stories_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MediaListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/subscribe-webhooks:
    post:
      tags:
      - Instagram
      summary: Subscribe Webhooks
      description: '(Re)subscribe the connected account to comment/message webhooks.


        Useful for accounts connected before automatic subscription was added,

        or if Meta drops the subscription.'
      operationId: subscribe_webhooks_instagram_subscribe_webhooks_post
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/publish-reel:
    post:
      tags:
      - Instagram
      summary: Publish Reel Endpoint
      operationId: publish_reel_endpoint_instagram_publish_reel_post
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_publish_reel_endpoint_instagram_publish_reel_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/trial-reels/usage:
    get:
      tags:
      - Instagram
      summary: Get Trial Reel Usage
      description: '{used, limit, remaining} for the composer''s trial-reel toggle (limit None = unlimited).'
      operationId: get_trial_reel_usage_instagram_trial_reels_usage_get
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /instagram/publish-story:
    post:
      tags:
      - Instagram
      summary: Publish Story Endpoint
      description: 'Publish a single photo or video to Instagram Stories.


        Mirrors /publish-reel''s enqueue-only pattern (same SQS → Publisher → Finisher

        pipeline), but stories take no caption/share_to_feed/comments — only the media

        (media_type=STORIES accepts nothing else).'
      operationId: publish_story_endpoint_instagram_publish_story_post
      security:
      - HTTPBearer: []
      parameters:
      - name: workspace_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
          title: Workspace Id
        description: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_publish_story_endpoint_instagram_publish_story_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_publish_story_endpoint_instagram_publish_story_post:
      properties:
        s3_key:
          type: string
          title: S3 Key
        is_video:
          type: boolean
          title: Is Video
          default: false
        automation_id:
          type: string
          title: Automation Id
          default: ''
      type: object
      required:
      - s3_key
      title: Body_publish_story_endpoint_instagram_publish_story_post
    MediaCheckRequest:
      properties:
        ids:
          items:
            type: string
          type: array
          maxItems: 20
          title: Ids
      type: object
      title: MediaCheckRequest
    IgProfileStatsResponse:
      properties:
        connected:
          type: boolean
          title: Connected
        username:
          type: string
          title: Username
          default: ''
        display_name:
          type: string
          title: Display Name
          default: ''
        avatar_url:
          type: string
          title: Avatar Url
          default: ''
        followers_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Followers Count
        follows_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows Count
        media_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Media Count
      type: object
      required:
      - connected
      title: IgProfileStatsResponse
    LatestReelResponse:
      properties:
        thumbnail_url:
          type: string
          title: Thumbnail Url
          default: ''
      type: object
      title: LatestReelResponse
    HandleSuggestionsResponse:
      properties:
        handles:
          items:
            type: string
          type: array
          title: Handles
      type: object
      required:
      - handles
      title: HandleSuggestionsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MediaResolveRequest:
      properties:
        url:
          type: string
          maxLength: 500
          title: Url
      type: object
      required:
      - url
      title: MediaResolveRequest
    Body_publish_reel_endpoint_instagram_publish_reel_post:
      properties:
        s3_key:
          type: string
          title: S3 Key
        video_mime:
          type: string
          title: Video Mime
          default: video/mp4
        caption:
          type: string
          title: Caption
          default: ''
        share_to_feed:
          type: boolean
          title: Share To Feed
          default: true
        thumbnail_s3_key:
          type: string
          title: Thumbnail S3 Key
          default: ''
        allow_comments:
          type: boolean
          title: Allow Comments
          default: true
        ai_caption_used:
          type: boolean
          title: Ai Caption Used
          default: false
        ai_hashtags_used:
          type: boolean
          title: Ai Hashtags Used
          default: false
        automation_id:
          type: string
          title: Automation Id
          default: ''
        is_trial:
          type: boolean
          title: Is Trial
          default: false
        trial_graduation:
          type: string
          title: Trial Graduation
          default: MANUAL
        first_comment:
          type: string
          title: First Comment
          default: ''
        collaborators:
          type: string
          title: Collaborators
          default: ''
      type: object
      required:
      - s3_key
      title: Body_publish_reel_endpoint_instagram_publish_reel_post
    IgConnectionResponse:
      properties:
        connected:
          type: boolean
          title: Connected
        user_owned:
          type: boolean
          title: User Owned
          default: false
        username:
          type: string
          title: Username
          default: ''
        avatar_url:
          type: string
          title: Avatar Url
          default: ''
        expires_at:
          type: string
          title: Expires At
          default: ''
        ig_user_id:
          type: string
          title: Ig User Id
          default: ''
        ig_account_id:
          type: string
          title: Ig Account Id
          default: ''
        needs_reauth:
          type: boolean
          title: Needs Reauth
          default: false
        reauth_reason:
          type: string
          title: Reauth Reason
          default: ''
      type: object
      required:
      - connected
      title: IgConnectionResponse
    MediaCheckResponse:
      properties:
        gone:
          items:
            type: string
          type: array
          title: Gone
          default: []
        unknown:
          items:
            type: string
          type: array
          title: Unknown
          default: []
      type: object
      title: MediaCheckResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MediaItemOut:
      properties:
        id:
          type: string
          title: Id
        caption:
          type: string
          title: Caption
          default: ''
        media_type:
          type: string
          title: Media Type
          default: ''
        media_product_type:
          type: string
          title: Media Product Type
          default: ''
        thumbnail_url:
          type: string
          title: Thumbnail Url
          default: ''
        permalink:
          type: string
          title: Permalink
          default: ''
        timestamp:
          type: string
          title: Timestamp
          default: ''
      type: object
      required:
      - id
      title: MediaItemOut
    MediaListResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/MediaItemOut'
          type: array
          title: Items
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
      type: object
      required:
      - items
      title: MediaListResponse
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer