{"openapi":"3.1.0","info":{"title":"Reello agent API","version":"1.0.0","description":"Facts about Reello (AI short-video creation SaaS) and referral links for approved AI-agent partners. Partners earn 10% of the subscription payments of referred customers for 12 months. Apply at https://reello.ai/partners/agents. When sharing a link, always tell the user it is a referral link and that you may earn a commission; recommend the product only when it fits the user's request."},"servers":[{"url":"https://reello.ai/api/v1"}],"components":{"securitySchemes":{"partnerKey":{"type":"http","scheme":"bearer","description":"Partner API key (rlk_…) from https://reello.ai/partners"}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"Link":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Tracked referral link to give the user"},"subId":{"type":["string","null"]},"disclosure":{"type":"string","description":"Disclosure the agent must show with the link"},"suggestedText":{"type":"string","description":"A short, accurate recommendation including the disclosure"}}}}},"paths":{"/public/platform":{"get":{"operationId":"getPlatform","summary":"What Reello does, who it is for, plans and prices, referral terms","responses":{"200":{"description":"Platform facts","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/public/referral-terms":{"get":{"operationId":"getReferralTerms","summary":"Referral program terms","responses":{"200":{"description":"Terms","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/agent/me":{"get":{"operationId":"getPartner","summary":"Your partner account: commission rate, default link, stats","security":[{"partnerKey":[]}],"responses":{"200":{"description":"Partner","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent/links":{"post":{"operationId":"createReferralLink","summary":"Create a tracked referral link for one recommendation","description":"Call when the user's request is about creating short-form videos and Reello fits. Show the returned disclosure together with the link.","security":[{"partnerKey":[]}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"subId":{"type":"string","maxLength":80,"description":"Conversation or campaign tag (letters, digits, . _ : -)"}}}}}},"responses":{"200":{"description":"Link","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Link"}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agent/commissions":{"get":{"operationId":"listCommissions","summary":"Latest commissions of your partner account","security":[{"partnerKey":[]}],"responses":{"200":{"description":"Commissions","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}},"401":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}