Skip to main content
Glama

ig_respond_collaboration_invite

Accept or decline Instagram collaboration invitations using the invite ID to manage partnership requests.

Instructions

Accept or decline a collaboration invite. Added in December 2025.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
invite_idYesCollaboration invite ID
actionYesAccept or decline the invite

Implementation Reference

  • The handler logic for the "ig_respond_collaboration_invite" tool. It uses the `client.ig` service to send a POST request to the collaboration_invites endpoint.
    // ─── ig_respond_collaboration_invite ─────────────────────────
    server.tool(
      "ig_respond_collaboration_invite",
      "Accept or decline a collaboration invite. Added in December 2025.",
      {
        invite_id: z.string().describe("Collaboration invite ID"),
        action: z.enum(["accept", "decline"]).describe("Accept or decline the invite"),
      },
      async ({ invite_id, action }) => {
        try {
          const { data, rateLimit } = await client.ig("POST", `/${client.igUserId}/collaboration_invites`, {
            invite_id,
            action,
          });
          return { content: [{ type: "text", text: JSON.stringify({ ...data as object, _rateLimit: rateLimit }, null, 2) }] };
        } catch (error) {
          return { content: [{ type: "text", text: `Respond to collaboration invite failed: ${error instanceof Error ? error.message : String(error)}` }], isError: true };
        }
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/meta-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server