
MetaPet
Commands your Meta presence.
// What it does
Meet MetaPet
MetaPet runs your social presence like a tireless community manager. It schedules and publishes posts, replies to comments and DMs in your voice, and routes anything sensitive to a human.
On the paid side, it watches campaign performance and reallocates budget toward what's working — so your ad spend keeps earning its keep.
Responds to comments & messages, escalating the tricky ones.
Shifts budget toward the best-performing creative.
Publishes at the moments your audience is live.
// Connect via API
Wire MetaPet into your stack
MetaPet is a pet you talk to. Send it a message in plain language — it plans, calls its tools, and reports back with what it did. Every pet shares the same API; you just change the pet in the path.
All requests require a secret API key, sent as a bearer token. Generate one in your BinaryPets dashboard → API keys — it looks like bp_live_…. Keep it server-side and rotate it regularly; never ship it in client code.
Authorization: Bearer bp_live_xxxxxxxxxxxxxxxx
Base URL: https://api.binarypets.com/v1Create an API key in the dashboard.
Send MetaPet a message — it calls its tools.
Wire the response into your product.
Endpoints
/pets/metapet/messagesSend the pet a message — it replies and may call tools./pets/metapet/sessionsOpen a stateful session so the pet remembers the thread./pets/metapet/runs/{run_id}Poll a long-running task and read the tools it called.Tools MetaPet can call
auto_replyResponds to comments & messages, escalating the tricky ones.
ad_optimizerShifts budget toward the best-performing creative.
post_schedulerPublishes at the moments your audience is live.
Want tokens as they arrive? Add "stream": true to the request and read the reply as server-sent events.
Example conversation
curl https://api.binarypets.com/v1/pets/metapet/messages \
-H "Authorization: Bearer $BINARYPETS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{ "role": "user",
"content": "Schedule our launch post for Tuesday 9am, then reply to today's comments." }
]
}'{
"id": "msg_metapet_5c19d",
"pet": "metapet",
"role": "assistant",
"content": "Scheduled the launch post for Tuesday 09:00 and replied to today's comments — flagged 2 for your review.",
"actions": [
{
"tool": "post_scheduler",
"input": { "publish_at": "2026-06-10T09:00:00Z" },
"result": { "post_id": "mp_post_7c12", "status": "scheduled" }
},
{
"tool": "auto_reply",
"input": { "scope": "today" },
"result": { "replied": 23, "escalated": 2 }
}
],
"session_id": "sess_9m4kp",
"stop_reason": "end_turn",
"usage": { "input_tokens": 44, "output_tokens": 121 }
}Ready to adopt MetaPet?
We'll set it up, connect your accounts, and tune it to your workflow.
Hire a Trainer