# Instagram Message Sender (`clothefobia/instagram-message-sender`) Actor

Instagram Message Sender- Send message to any instagram userid.

- **URL**: https://apify.com/clothefobia/instagram-message-sender.md
- **Developed by:** [clothe fobia](https://apify.com/clothefobia) (community)
- **Categories:** Lead generation, Automation, Social media
- **Security:** Limited permissions
- **Stats:** 347 total users, 6 monthly users, 99.2% runs succeeded, 7 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Instagram Message Sender

**Instagram Message Sender** is a powerful automation tool for sending bulk Direct Messages (DMs) to Instagram users. Send personalized messages to multiple Instagram profiles with configurable delays, detailed logs, and cookie-based authentication.

This actor is ideal for **marketing campaigns, customer outreach, lead generation, influencer communication, business promotions, and community engagement**.

***

## Features

- ✅ Send bulk Instagram Direct Messages (DMs)
- ✅ Support multiple Instagram usernames in a single run
- ✅ Configurable delay between messages to reduce sending speed
- ✅ Cookie-based authentication (no username/password required)
- ✅ Real-time progress tracking
- ✅ Success and failure logs
- ✅ Easy-to-use input parameters
- ✅ Fast and reliable automation
- ✅ Suitable for outreach, promotions, and business communication

***

\#Demo video For Get Cookie from any website

https://youtu.be/\_8rjcypTGZ4

***

## Input Parameters

| Parameter               | Description                                                                                   |
| ----------------------- | --------------------------------------------------------------------------------------------- |
| **Instagram Usernames** | Comma-separated list of Instagram usernames. Example: `["username1","username2","username3"]` |
| **Message**             | The text message that will be sent to every Instagram user.                                   |
| **Delay (Seconds)**     | Delay between each message to simulate natural activity.                                      |
| **Instagram Cookies**   | Your Instagram session cookies exported from your browser.                                    |

***

## Example Input

```json
{
  "usernames": [
    "username1",
    "username2",
    "username3"
  ],
  "message": "Hello! We'd love to connect with you.",
  "delay": 15,
  "cookies": "YOUR_INSTAGRAM_COOKIE"
}
```

***

## Output

The actor generates detailed results for every processed username.

Example:

```json
{
  "username": "username1",
  "status": "Success",
  "messageSent": true,
  "time": "2026-07-12T12:30:15Z"
}
```

Failed messages include the reason whenever available.

***

## How to Use

1. Enter one or more Instagram usernames.
2. Type the message you want to send.
3. Set the delay between messages.
4. Paste your Instagram session cookies.
5. Click **Save & Start**.
6. Monitor the progress in real time.
7. Download or view the final results.

***

## How to Export Instagram Cookies

1. ✅ Step 1 :  Install Chrome Extension [Export cookie JSON file for Puppeteer](https://chromewebstore.google.com/detail/export-cookie-json-file-f/nmckokihipjgplolmcmjakknndddifde/reviews) in chrome browser
2. ✅ Step 2 :  Login to your Instagram into chrome browser
3. ✅ Step 3 :  After login, open chrome Extension "Export cookie JSON file for Puppeteer"  and Click Export cookies as JSON, it will download Cookie json file, from file copy cookie.
4. ✅ Step 4 :  Go to Software input Area,Paste Cookie on Box "Instagram Cookie"

## Best Practices

- Use a reasonable delay between messages.
- Send messages gradually instead of sending too many at once.
- Use a valid Instagram session cookie.
- Review your results after each run.
- Keep your browser session active when exporting cookies.

***

## Frequently Asked Questions

### Does this actor require my Instagram password?

No. The actor only requires your exported Instagram session cookies.

***

### Can I send messages to multiple users?

Yes. You can send messages to multiple Instagram usernames in a single run.

***

### Can I control the sending speed?

Yes. Use the **Delay (Seconds)** option to control the interval between messages.

***

### Will I receive logs?

Yes. The actor provides detailed success and failure logs for every processed username.

***

## Keywords

Instagram Message Sender, Instagram Bulk Message Sender, Instagram DM Sender, Instagram Direct Message Sender, Instagram Auto Message, Instagram Bulk DM, Instagram Outreach Tool, Instagram Marketing, Instagram Automation, Instagram Messaging Tool, Instagram Direct Message Automation, Instagram Lead Generation, Instagram Business Outreach, Instagram Customer Engagement, Instagram Promotion Tool.

***

## Disclaimer

This actor is intended for legitimate business communication, marketing, customer engagement, and outreach. Users are responsible for complying with Instagram's Terms of Service and all applicable laws and regulations when using this actor.

if you face any issue , you can email us at clothefobia@gmail.com

# Actor input Schema

## `Instagram_UserName_List` (type: `array`):

Insert Instagram UserName List Comma seperated where you want to send message

## `Message` (type: `string`):

Enter Your Text Message which you want to send to Instagram user

## `Auto_Follow` (type: `boolean`):

Follow before message send if not followed any user

## `Delay` (type: `string`):

Delay in Second between each message sent to profile

## `Cookies` (type: `array`):

Insert Instagram Cookie, please check product information how to get cookie

## Actor input object example

```json
{
  "Instagram_UserName_List": [
    "telmarketing134",
    "telmarketing134"
  ],
  "Message": "test",
  "Auto_Follow": false,
  "Delay": "5"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "Instagram_UserName_List": [
        "telmarketing134",
        "telmarketing134"
    ],
    "Message": "test",
    "Auto_Follow": false,
    "Delay": "5"
};

// Run the Actor and wait for it to finish
const run = await client.actor("clothefobia/instagram-message-sender").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "Instagram_UserName_List": [
        "telmarketing134",
        "telmarketing134",
    ],
    "Message": "test",
    "Auto_Follow": False,
    "Delay": "5",
}

# Run the Actor and wait for it to finish
run = client.actor("clothefobia/instagram-message-sender").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "Instagram_UserName_List": [
    "telmarketing134",
    "telmarketing134"
  ],
  "Message": "test",
  "Auto_Follow": false,
  "Delay": "5"
}' |
apify call clothefobia/instagram-message-sender --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clothefobia/instagram-message-sender"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aaiYi43m6PKfCU22s/builds/YUx20rVr8iAchhmhB/openapi.json
