PeumeAPI

Social publishing & inbox

Resolve message attachment

Resolve one attachment on a message to a media url that works right now.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/resolve-message-attachment \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "format": "redirect",
    "conversationId": "your conversationId",
    "messageId": "your messageId",
    "index": 10
  }
}'

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: resolve-message-attachment.

Parameters

accountIdRequiredstring

Account ID. Required: without it the request returns 400 missing_required_field.

formatstring

`redirect` (default) answers 302 to the media; `json` returns the url in the body

redirect · json

Example: redirect

conversationIdRequiredstring

The conversation ID ( id or platform conversation id)

messageIdRequiredstring

The message id as returned by the list-messages endpoint (the platform message id)

indexRequiredinteger

Zero-based position of the attachment in the message's attachments array

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.