Comment to DM Automation
API for Developers

Keyword auto-replies that turn Instagram and Facebook comments into DM conversations.

Start for free

No credit card required

import { Configuration, EngagementApi } from "@onepostly/sdk"; const engagementApi = new EngagementApi( new Configuration({ apiKey: process.env.ONEPOSTLY_API_KEY }), ); const { rule } = await engagementApi.createAutomation({ createAutomationBody: { accountId, kind: "comment_to_dm", keywords: ["guide"], dmMessage: "Just sent the guide to your DMs.", }, });

Trusted by developers and teams shipping across every platform

The boring parts, handled

Every platform behind one integration

One integration covers publishing, scheduling, and analytics. Platform changes, app reviews, token refreshes, and rate limits are ours to absorb.

Features

Schedule, publish, and measure.

Changelog: faster media uploads

PublishedMon, 5 Oct09:30

Meet the new analytics view

PublishedTue, 6 Oct17:15

Planning your calendar, the short version

Thu, 8 Oct10:45Europe/Istanbul

We are at the API meetup today

Fri, 9 Oct13:00America/New_York

Case study: shipping every day

Mon, 12 Oct08:30Europe/London

Live demo: retries and webhooks

Tue, 13 Oct19:00Asia/Tokyo

Uptime report for last month

Wed, 14 Oct11:20America/Los_Angeles

Post Scheduling

Pick the time and timezone. Nothing goes out until its scheduled moment, and you can cancel any time before.

ReelsText
Video
Photos
Story

Images, Videos & Carousels

Upload images, videos, carousels, Stories, and Reels. One payload, every destination.

Webhooks & Events

Publish, fail, comment, or DM. Every event hits your endpoint the moment it happens.

First Comment Support

Add a first comment to the same call. It publishes alongside the post where supported.

Normalized Analytics

One call returns likes, comments, and shares from every platform in the same shape.

Why Onepostly?

You call one API, we handle the rest.

Onepostly API

  • App reviews and OAuth handled

    Platform apps and token refresh handled for you

  • One API key

    Connect once and publish everywhere with one key

  • One shape for every surface

    Comments DMs and metrics in normalized JSON

  • Platform changes absorbed

    Endpoint contracts stay stable when APIs shift

Building it yourself (platform APIs)

  • A separate app per platform

    App reviews and OAuth verification take months

  • A token refresh flow per platform

    Rate limits and expiry tracking on your side

  • A different shape per platform

    Inconsistent schemas across social networks

  • Every breaking change on you

    API version bumps and deprecations to track

Beyond publishing

Comments, DMs, and metrics on the same API.

Same accounts, same API key. Conversations, moderation, automations, and numbers run through the integration you already have.

Inbox API

Conversations from every platform, one inbox

All platformsAll accounts
mira.buildsCan you send the setup guide?2m
kai.drawsLoved the launch post!14m
james.codesIs there a Python SDK?1h
Engagement API

Like, bookmark, and repost as API calls

MBmira.builds2h

Launch day is live. Everything shipped from one call.

128248
Automations API

Comment to DM automations

MB@mira.buildsGUIDE please
KD@kai.drawssend the GUIDE
MBmira.buildsHi! Sent the guide · now
KDkai.drawsHi! Sent the guide · 1m
Analytics API

Metrics from every platform, one shape

PlatformLikesCommentsShares
Instagram1,2848641
TikTok3,410214132
LinkedIn4863218
X7924563

Frequently asked questions

Keywords, platforms, limits, and how comment-to-DM rules run on inbound webhooks.

You pick a keyword, and whenever someone comments it on your post, they automatically get a DM from you. Set it up once and it runs on its own from then on.

Instagram and Facebook. Those are the networks where private replies to comments are supported.

Connect your account, choose the keyword people should comment, and write the message they will receive. That is the whole setup.

Any comment containing your keyword, regardless of capitalization. You can also add words that disqualify a comment, so priceless never triggers a rule meant for price.

Yes. Besides comments, you can auto-reply to story replies and to people messaging you for the first time, each with its own message.

You can keep up to 20 rules per connected account, and each message can be up to 1000 characters.

Yes. The OAuth screens your users see carry neutral names like Social Media Connector rather than our brand, so the experience reads as fully yours.