{"uid":"cap_LS377oi_vPGWzDuSqMCwm","slug":"api-production-853c-up-railway-app-5bc737e9","name":"MatrixFold Social Publishing Payload Compiler","description":"","url":"https://api-production-853c.up.railway.app/v1/compile","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["sourceContent"],"properties":{"tone":{"enum":["neutral","professional","playful","direct"],"type":"string"},"intent":{"type":"string","maxLength":500},"imageUrls":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":20},"sourceTitle":{"type":"string","maxLength":200},"sourceContent":{"type":"string","maxLength":12000,"minLength":1},"targetPlatforms":{"type":"array","items":{"enum":["x","linkedin","xiaohongshu"],"type":"string"},"maxItems":3,"minItems":1}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["results","fallbackUsed"],"properties":{"results":{"type":"array"},"fallbackUsed":{"type":"boolean"}}}}}}},"responseSchema":null,"example":{"request":{"tone":"professional","intent":"Share insights about remote work trends and best practices with professional audiences","sourceTitle":"The Future of Remote Work","sourceContent":"Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not more so, than traditional office setups. Key benefits include reduced overhead costs, access to global talent pools, and improved employee satisfaction. However, challenges remain around team cohesion and company culture. The most successful remote-first companies invest heavily in communication tools and intentional culture-building activities.","targetPlatforms":["x","linkedin"]},"response":{"results":[{"source":"template","payload":{"body":"The Future of Remote Work: Share insights about remote work trends and best practices with professional audiences Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not mor #AI #Agent","media":{"imageUrls":[],"recommendedAltText":"Visual summary for The Future of Remote Work"},"hashtags":["#AI","#Agent"],"platform":"x","apiReadyFields":{"adapter":"x_api_v2_create_tweet","requestBody":{"text":"The Future of Remote Work: Share insights about remote work trends and best practices with professional audiences Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not mor #AI #Agent"},"endpointHint":"POST /2/tweets","validationContract":{"maxChars":280,"maxImages":4,"maxHashtags":3}}},"platform":"x","validationReport":{"score":100,"valid":true,"errors":[],"metrics":{"chars":280,"links":0,"emojis":0,"images":0,"hashtags":2,"lineBreaks":0},"platform":"x","warnings":[],"riskLevel":"low","suggestedFixes":[]}},{"source":"template","payload":{"body":"The Future of Remote Work: Share insights about remote work trends and best practices with professional audiences Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not more so, than traditional office setups. Key benefits include reduced overhead costs, access to global talent pools, and improved employee satisfaction.\n\nWhy it matters:\n- Turns long-form source material into platform-ready payloads.\n- Reduces publishing mistakes before an agent calls a posting API.\n\nShare insights about remote work trends and best practices with professional audiences\n\n#AI #Automation #Productivity","media":{"imageUrls":[],"recommendedAltText":"Professional visual for The Future of Remote Work"},"hashtags":["#AI","#Automation","#Productivity"],"platform":"linkedin","apiReadyFields":{"adapter":"linkedin_rest_posts","requestBody":{"author":"urn:li:person:{owner_id}","commentary":"The Future of Remote Work: Share insights about remote work trends and best practices with professional audiences Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not more so, than traditional office setups. Key benefits include reduced overhead costs, access to global talent pools, and improved employee satisfaction.\n\nWhy it matters:\n- Turns long-form source material into platform-ready payloads.\n- Reduces publishing mistakes before an agent calls a posting API.\n\nShare insights about remote work trends and best practices with professional audiences\n\n#AI #Automation #Productivity","visibility":"PUBLIC","distribution":{"targetEntities":[],"feedDistribution":"MAIN_FEED","thirdPartyDistributionChannels":[]},"lifecycleState":"PUBLISHED","isReshareDisabledByAuthor":false},"endpointHint":"POST /rest/posts","requiredHeaders":{"Content-Type":"application/json","Authorization":"Bearer {LINKEDIN_ACCESS_TOKEN}","Linkedin-Version":"{YYYYMM}","X-Restli-Protocol-Version":"2.0.0"},"validationContract":{"maxChars":3000,"maxImages":9,"maxHashtags":5}}},"platform":"linkedin","validationReport":{"score":100,"valid":true,"errors":[],"metrics":{"chars":685,"links":0,"emojis":0,"images":0,"hashtags":3,"lineBreaks":8},"platform":"linkedin","warnings":[],"riskLevel":"low","suggestedFixes":[]}}],"fallbackUsed":false}},"exampleRequest":{"tone":"professional","intent":"Share insights about remote work trends and best practices with professional audiences","sourceTitle":"The Future of Remote Work","sourceContent":"Remote work has fundamentally transformed how organizations operate. Companies are discovering that distributed teams can be just as productive, if not more so, than traditional office setups. Key benefits include reduced overhead costs, access to global talent pools, and improved employee satisfaction. However, challenges remain around team cohesion and company culture. The most successful remote-first companies invest heavily in communication tools and intentional culture-building activities.","targetPlatforms":["x","linkedin"]},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2vHHQHh_LtgJMYhT2GwmC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles long-form content, intent, and source material into platform-ready JSON payloads for X/Twitter, LinkedIn, and Xiaohongshu","exampleAgentPrompt":"Compile this blog post draft into an API-ready JSON payload for X/Twitter: 'Decentralized AI is reshaping how we think about data ownership — here's why it matters for 2025.' I want strict JSON output with validation report and apiReadyFields.","exampleUseCases":null,"resultDescription":"Returns strict JSON containing platform-specific apiReadyFields ready for direct submission to the target social platform's API, along with a validation report indicating compliance with platform constraints and any downstream publishing metadata.","failureModes":["Missing required content or intent fields returns validation error","Unsupported platform identifier causes payload compilation failure","Content exceeding platform character limits flagged in validation report","Malformed source material results in parsing error","Payment not received causes 402 rejection before compilation"],"whenToPreferThis":"Use this endpoint when an AI agent needs to convert unstructured or long-form content into strictly validated, platform-specific JSON payloads ready for direct API submission to X/Twitter, LinkedIn, or Xiaohongshu — especially when downstream publishing APIs require precise field formatting and validation reports are needed before submission.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:41.024Z","isFirstParty":false}