PeumeAPI

Social publishing & inbox

Turn a custom domain on or off for connect

With `connectEnabled` true, new connect links open on the domain once it is active; with false they open on.com again. Links already sent keep working. Requires the workspace settings permission (owner or admin).

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/turn-a-custom-domain-on-or-off-for-connect \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "domainId": "your domainId",
    "connectEnabled": true
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: turn-a-custom-domain-on-or-off-for-connect.

Parameters

domainIdRequiredstring

The custom domain's id.

connectEnabledRequiredboolean

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.