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

# API reference

> Map of Instagram operations: send, list, inbound, cancel, edit, unsend, and comments.

Full schemas, bodies, and errors live in the interactive **API reference** under the Instagram tab. This page is the map.

## Authentication

| Header          | Value                  |
| --------------- | ---------------------- |
| `Authorization` | `Bearer sk_live_xxxxx` |
| or `x-api-key`  | `sk_live_xxxxx`        |

## Instances

| What you want      | Operation                 | Scope                            |
| ------------------ | ------------------------- | -------------------------------- |
| List connections   | List Instagram instances  | `instagram:instances:list`       |
| Create and log in  | Create Instagram instance | `instagram:instances:create`     |
| Get detail         | Get Instagram instance    | `instagram:instances:list`       |
| Session status     | Connection status         | `instagram:read`                 |
| Disconnect         | Disconnect session        | `instagram:instances:disconnect` |
| Complete challenge | Resolve challenge         | `instagram:instances:create`     |
| Remove             | Delete Instagram instance | `instagram:instances:delete`     |

## Messages

| What you want | Operation              | Scope              |
| ------------- | ---------------------- | ------------------ |
| Send DM       | Send Instagram DM      | `instagram:send`   |
| List outbound | List outbound messages | `instagram:read`   |
| Get status    | Get outbound message   | `instagram:read`   |
| Cancel queue  | Cancel queued message  | `instagram:cancel` |
| Edit text     | Edit text message      | `instagram:update` |
| Unsend        | Unsend message         | `instagram:delete` |
| List inbound  | List inbound DMs       | `instagram:read`   |

## Comments

| What you want | Operation        | Scope                         |
| ------------- | ---------------- | ----------------------------- |
| List          | List comments    | `instagram:read`              |
| Reply         | Reply to comment | `instagram:comments:reply`    |
| Delete        | Delete comment   | `instagram:comments:moderate` |

## Common bodies

**Create connection**

```json theme={null}
{
  "name": "Instagram support",
  "acceptInstagramTerms": true,
  "auth": {
    "mode": "password",
    "username": "your_username",
    "password": "your_password"
  }
}
```

**Send text**

```json theme={null}
{
  "instanceId": "inst_abc",
  "to": ["target_user"],
  "type": "text",
  "payload": { "message": "Hello from Notifique!" }
}
```

**Edit text**

```json theme={null}
{ "text": "New text (1 to 1000 characters)" }
```

Edit limits: **15 minutes**, up to **5** edits, text only.

## Guides

* [Introduction](/en/instagram-api/como-funciona/introducao)
* [Quick Start](/en/instagram-api/como-funciona/quick-start)
* [Scopes](/en/instagram-api/como-funciona/escopos-api-key)
* [Webhooks](/en/instagram-api/como-funciona/eventos-do-webhooks)
