socials-stage-file
/api/v1/socials-stage-file
0 credits/call
socials
Stage one PNG or PDF for social posting. Pass either content_base64 or source_url (an https URL the server downloads itself). Call once per file, then pass the returned file_ids in slide order to socials-schedule.
Sign in + create an API key on the keys page to authenticate calls.
curl -X POST https://api.fulcrumgo.com/api/v1/socials-stage-file \
-H "Authorization: Bearer mcpsk_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"filename": ""
}'
Add this server to Claude Desktop's claude_desktop_config.json. The endpoint becomes a callable tool inside Claude. See the MCP setup guide for the full walk-through.
{
"mcpServers": {
"this-api": {
"url": "https://api.fulcrumgo.com/mcp",
"transport": "http",
"auth": {
"type": "bearer",
"token": "mcpsk_<your_api_key>"
}
}
}
}
Inside Claude this endpoint surfaces as the tool socials-stage-file.
Standard requests — no custom SDK needed. pip install requests first.
import requests
r = requests.post(
"https://api.fulcrumgo.com/api/v1/socials-stage-file",
headers={"Authorization": "Bearer mcpsk_<your_api_key>"},
json={
"filename": ""
},
)
r.raise_for_status()
print(r.json())
Plain fetch. Works in Node 18+, Deno, Bun, and any modern browser.
const r = await fetch("https://api.fulcrumgo.com/api/v1/socials-stage-file", {
method: "POST",
headers: {
"Authorization": "Bearer mcpsk_<your_api_key>",
"Content-Type": "application/json",
},
body: JSON.stringify({
"filename": ""
}),
});
if (!r.ok) throw new Error(`HTTP ${r.status}`);
console.log(await r.json());
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| filename | string | required | — |
Safe .png or .pdf basename.
maxLength=200
minLength=5
|
| content_base64 | string | null | optional | — | Base64 file content; decoded content may be at most 2,200,000 bytes. |
| source_url | string | null | optional | — | https URL the server downloads the file from, instead of content_base64. Same 2,200,000-byte limit. |
Output
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| file_id | string | required | — |
Try it
Fires a real POST /api/v1/socials-stage-file from your browser. Charges 0 credits per call against your account.