# Meediar > Meediar is a messaging relay and post scheduler for Instagram, Facebook Messenger and YouTube. It forwards every incoming message and comment as signed JSON to your own webhook (n8n, Make, Zapier, Claude, ChatGPT or your own server) and lets you reply and schedule posts through a REST API. No Meta app review is needed: you sign in with Facebook and choose the account or page. Website: https://meediar.com API base URL: https://meediar.com/api/v1 Authentication: `Authorization: Bearer pk_live_...` (API key created in the panel). Limit: 120 requests per minute. ## Key facts - Channels for messages and comments: Instagram and Facebook Messenger. WhatsApp is not available yet. - Channels for scheduling and publishing: Instagram (post, carousel, reel, story), Facebook (post, reel, story) and YouTube (video). - Pricing is per connection, not per message: Basic $15/month (2 connections), Pro $29/month (4), Agency $79/month (12). Messages and contacts are unlimited on every plan (fair use applies above 100,000 messages per connection per month). There is no free plan. - Webhook events are signed with HMAC-SHA256 over `{meediar-event-id}.{meediar-timestamp}.{raw body}` using a `whsec_` secret. Reject events older than 300 seconds. Answer 2xx within 5 seconds; failed deliveries are retried at 5 s, 30 s, 2 min, 5 min and 15 min. - Meta rules apply: replies in a conversation within 24 hours of the customer's last message; one private reply per comment within 7 days. ## Events sent to your webhook - `message.received`: a customer sent a message. Reply with `POST /messages` using `conversation.id`. - `comment.received`: someone commented. Reply with `POST /comments/private-reply` or `POST /comments/reply` using `page.id` as `connectionId`. - `post.published` and `post.failed`: a scheduled post went out or failed. ## API endpoints - `POST /messages` — reply in a conversation (`conversationId`, `text` up to 2,000 characters). - `POST /comments/private-reply` — answer a comment by direct message (`connectionId`, `postId`, `commentId`, `text`). - `POST /comments/reply` — public reply to a comment. - `POST /posts` — schedule or publish a post (`connectionId`, `kind`, `content`, `mediaItems`, `scheduledFor` or `publishNow`; YouTube also needs `title`). JSON with https media URLs, or multipart with files. - `GET /posts?from=YYYY-MM-DD&to=YYYY-MM-DD` — list posts and their status (scheduled, published, failed, cancelled). - `DELETE /posts/{id}` — cancel a scheduled post. - `POST /posts/{id}/retry` — retry a failed post. Send an `Idempotency-Key` header on POST calls so retries never send twice. ## Resources - [OpenAPI 3.1 specification](https://meediar.com/openapi.json): every endpoint, schema and webhook event. - [Documentation, English](https://meediar.com/en/docs): webhook signature, replying, scheduling posts, errors. - [Documentación, español](https://meediar.com/es/docs) - [Pricing and FAQ](https://meediar.com/en/#pricing) - [Privacy policy](https://meediar.com/en/privacy) and [terms](https://meediar.com/en/terms) ## Notes for AI agents - Test events sent from the panel carry `"test": true`; do not answer them. - Use `page.id` from an event as `connectionId`, and `conversation.id` as `conversationId`. - Do not send a second private reply to the same comment: the API returns 409.