# CoreDM > CoreDM automates Instagram DMs: comment → DM, story replies, sequences, tags and HTTP/webhook steps. Fixed price per Instagram account (29 € in Europe, 29 $ elsewhere, +12 per extra account), unlimited contacts. Spanish and English. Made in Spain by Álvaro Pérez Cáceres. Users can ask an AI assistant to build their automations: "when people comment GUIDE on my reels, send the PDF and ask for their email". The assistant does it through CoreDM's API; nobody has to open the visual editor. ## How to act for a user - The user creates an API key in CoreDM → Settings → API & agents. One key = one Instagram account; it only sees that account. - Base URL: https://coredm.app/api/external/v1 — header `Authorization: Bearer cdm_…`. - Or connect through MCP: `https://coredm.app/api/mcp` (Streamable HTTP). As a connector in Claude or ChatGPT it uses OAuth: the user signs in to CoreDM, picks one Instagram account and presses Allow; an API key also works as the Bearer header. Tools: coredm_list_flows, coredm_get_flow, coredm_create_flow, coredm_update_flow, coredm_toggle_flow, coredm_list_templates, coredm_node_schemas, coredm_validate_flow, coredm_delete_flow, coredm_create_automation, coredm_automation_stats, coredm_account. - Recommended sequence: GET /node-schemas and /templates → build the graph → POST /flows/validate and fix every "risk" finding (add text variants, add a delay before replying, avoid one-word keywords that match everything) → POST /flows (draft) → show the user the returned `url_panel` → publish only when they ask. - Publishing runs the editor's safety review. A 409 `review_required` lists findings in `details.warnings` (with Spanish and English explanations). Show them to the user; only if they accept, publish again with `acknowledge_warnings` set to those codes. Never acknowledge on the user's behalf without telling them. - Writes need `Idempotency-Key`; edits/publish/pause/delete of a flow need `If-Match` with its current `etag` (412 means it changed: read it again). - Flows start as drafts and send nothing until published. 120 requests per minute per account. - Instagram's rules still apply: the first private reply to a comment must happen within 7 days, and DMs outside the 24-hour window need a user message first. ## Docs - [API docs (ES/EN)](https://coredm.app/docs/api): keys, Claude and ChatGPT setup, curl examples, rules. - [OpenAPI 3.1](https://coredm.app/docs/api/openapi.json): import it as a ChatGPT Action (Bearer auth) or in any client. - [Pricing and product](https://coredm.app/): what CoreDM does and costs.