{"openapi":"3.1.0","info":{"title":"Assetora+ partner API","version":"2027-01-15","description":"The Assetora+ API for partners: lenders, accountants and advisers, brokers and wealth platforms, and media. Try every call in the sandbox with a test key (made-up data). A live key sees only the companies and investors who connected you. Limits: 120 requests a minute in the sandbox, 300 live. Errors are problem+json with a stable `code` and a `fix`. Breaking changes come in a new dated version, with 3 months’ notice.","contact":{"name":"Assetora+ developers","url":"https://developers.assetora.com"}},"servers":[{"url":"https://sandbox.api.assetora.com/v2","description":"Sandbox (test keys, made-up data)"},{"url":"https://api.assetora.com/v2","description":"Live (live keys)"}],"security":[{"bearer":[]}],"tags":[{"name":"Account"},{"name":"Lending"},{"name":"Advisers"},{"name":"Wealth"},{"name":"Market"},{"name":"Webhooks"}],"paths":{"/me":{"get":{"operationId":"getMe","tags":["Account"],"summary":"Who this key belongs to","description":"The partner, its kind, the environment and version of the key, and what it may call. A good first call to check a key works.","x-partner-kinds":"all","parameters":[{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"partner":{"id":"prt_demo_lender","name":"Harbourline Capital","kind":"lender","live_status":"approved"},"key":{"id":"key_8sd2","env":"test","version":"2027-01-15","allowed_addresses":[]},"scopes":["lending"],"note":"Sandbox: every company, person and figure is made up."}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/clients":{"get":{"operationId":"listClients","tags":["Account"],"summary":"Companies and investors connected to you","description":"Every company or investor that chose to connect this partner, and what they agreed to share. They can disconnect at any time; a disconnected client disappears from every list at once.","x-partner-kinds":"all","parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"name":"type","in":"query","required":false,"description":"Only companies or only investors.","schema":{"type":"string","description":"Only companies or only investors.","enum":["company","investor"]}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"id":"cmp_kestrel","type":"company","name":"Kestrel Robotics Pty Ltd","abn":"51824753556","shares":["score","leads"],"connected_at":"2026-10-02T00:00:00Z"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/lending/companies/{abn}/score":{"get":{"operationId":"getCompanyScore","tags":["Lending"],"summary":"A connected company's Assetora+ Score","description":"The Score (0–1000), its grade (A+ to D), how much of it rests on data (confidence), the seven parts with their weights, the certificate level if any (monitored, reviewed or assured) and the last 12 months. Only for companies that connected you and agreed to share their Score.","x-partner-kinds":["lender"],"parameters":[{"name":"abn","in":"path","required":true,"description":"The company’s 11-digit ABN, spaces allowed.","schema":{"type":"string","description":"The company’s 11-digit ABN, spaces allowed.","example":"51824753556"}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"company":{"id":"cmp_kestrel","name":"Kestrel Robotics Pty Ltd","abn":"51824753556"},"score":782,"grade":"A","confidence":88,"provisional":false,"model":"model-2","parts":[{"key":"financial","label":"Financial strength","weight":0.25,"score":81}],"certificate":{"level":"reviewed","issued_at":"2026-10-02","valid_until":"2027-10-01"},"history":[{"month":"2026-12","score":782}],"updated_at":"2026-12-04T19:00:00Z"}}}},"400":{"description":"bad_request; wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"not_connected","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/lending/leads":{"get":{"operationId":"listLeads","tags":["Lending"],"summary":"Companies asking for finance","description":"Finance requests from companies that chose to share them with you, newest first, with the amount, purpose, term, security offered and the company’s current Score and grade.","x-partner-kinds":["lender"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"name":"status","in":"query","required":false,"description":"Filter by status.","schema":{"type":"string","description":"Filter by status.","enum":["open","offer_sent","offer_accepted","closed"]}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"id":"lead_k7p2","company":{"id":"cmp_kestrel","name":"Kestrel Robotics Pty Ltd","abn":"51824753556"},"amount":750000,"currency":"AUD","purpose":"Working capital for a new production line","term_months":36,"security":"General security agreement","score":782,"grade":"A","status":"open","created_at":"2026-12-02T03:14:00Z"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/lending/offers":{"post":{"operationId":"createOffer","tags":["Lending"],"summary":"Send a loan offer","description":"Send an offer to a company, usually in answer to a lead. The company sees it in Assetora+ and can accept or decline; you hear back by webhook (offer.accepted, offer.declined, loan.drawn).","x-partner-kinds":["lender"],"parameters":[{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/Idempotency"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company_id","amount","rate_pct","term_months"],"properties":{"lead_id":{"type":"string","description":"The lead you are answering (optional).","example":"lead_k7p2"},"company_id":{"type":"string","description":"The company (cmp_…).","example":"cmp_kestrel"},"amount":{"type":"number","description":"Amount in AUD, at least 1,000.","example":750000},"rate_pct":{"type":"number","description":"Yearly interest rate in per cent.","example":9.4},"term_months":{"type":"integer","description":"Term in months, 1–360.","example":36},"note":{"type":"string","description":"A short note the company sees with the offer.","example":"Approval subject to a site visit."},"expires_at":{"type":"string","description":"When the offer lapses (ISO 8601). Default 14 days.","example":"2026-12-19T00:00:00Z"}}},"example":{"lead_id":"lead_k7p2","company_id":"cmp_kestrel","amount":750000,"rate_pct":9.4,"term_months":36,"note":"Approval subject to a site visit.","expires_at":"2026-12-19T00:00:00Z"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"ofr_3hT9xk","company_id":"cmp_kestrel","lead_id":"lead_k7p2","amount":750000,"currency":"AUD","rate_pct":9.4,"term_months":36,"status":"sent","expires_at":"2026-12-19T00:00:00Z","created_at":"2026-12-05T01:00:00Z"}}}},"400":{"description":"bad_request; bad_json; wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"not_connected","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"idempotency_conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"operationId":"listOffers","tags":["Lending"],"summary":"Your offers and where they stand","description":"Offers you have sent, newest first: sent, accepted, declined, withdrawn, drawn or expired.","x-partner-kinds":["lender"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"id":"ofr_3hT9xk","company_id":"cmp_kestrel","amount":750000,"currency":"AUD","rate_pct":9.4,"term_months":36,"status":"sent","created_at":"2026-12-05T01:00:00Z"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/advisers/clients":{"get":{"operationId":"listAdviserClients","tags":["Advisers"],"summary":"Your client companies and their progress","description":"Each client company’s set-up progress on Assetora+, its open compliance items and next deadline, its ASF status and its Score grade.","x-partner-kinds":["adviser"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"id":"cmp_coralbay","name":"Coral Bay Foods Pty Ltd","abn":"21102417895","setup":{"done":6,"total":7,"next":"Upload the latest board minutes"},"compliance":{"open_items":3,"next_deadline":"2026-12-21","next_deadline_what":"Annual review with ASIC"},"asf":{"ticker":"ASF:CORL","status":"live"},"grade":"B+"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"operationId":"inviteClient","tags":["Advisers"],"summary":"Invite a company to Assetora+","description":"Invite a client company to join Assetora+ with you as its adviser. Assetora sends the invitation; once they join and connect you, they appear in your client list.","x-partner-kinds":["adviser"],"parameters":[{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/Idempotency"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company_name","email"],"properties":{"company_name":{"type":"string","description":"The company’s name.","example":"Wattle Street Bakery Pty Ltd"},"abn":{"type":"string","description":"Its ABN, if you know it.","example":"51824753556"},"email":{"type":"string","description":"Who to send the invitation to.","example":"founder@wattlestreet.example"}}},"example":{"company_name":"Wattle Street Bakery Pty Ltd","abn":"51824753556","email":"founder@wattlestreet.example"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"inv_7Gq2","company_name":"Wattle Street Bakery Pty Ltd","email":"founder@wattlestreet.example","status":"sent","created_at":"2026-12-05T01:00:00Z"}}}},"400":{"description":"bad_request; bad_json; wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"idempotency_conflict; conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/wealth/investors/{ref}/holdings":{"get":{"operationId":"getHoldings","tags":["Wealth"],"summary":"A connected investor's ASF holdings","description":"Units held in each ASF, the last price, value and the time of the price, for an investor who connected you. Prices are delayed 20 minutes.","x-partner-kinds":["wealth"],"parameters":[{"name":"ref","in":"path","required":true,"description":"The investor’s reference from GET /clients.","schema":{"type":"string","description":"The investor’s reference from GET /clients.","example":"inv_demo_ana"}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"investor":{"ref":"inv_demo_ana","name":"Ana Rossi"},"holdings":[{"ticker":"ASF:KEST","name":"Kestrel Robotics ASF","units":12000,"last_price":1.42,"value":17040,"currency":"AUD"}],"total_value":26850,"as_of":"2026-12-05T00:40:00Z","delayed_minutes":20}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"not_connected","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/wealth/orders":{"post":{"operationId":"createOrder","tags":["Wealth"],"summary":"Place a buy or sell order for an investor","description":"Places an order on an ASF for a connected investor who authorised you to trade. Live orders are switched on only after the legal review; in the sandbox they work now and fill against made-up prices.\n\nLive use waits on a legal review (switch `wealth.orders`); the sandbox works now.","x-partner-kinds":["wealth"],"parameters":[{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/Idempotency"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["investor_ref","ticker","side","units"],"properties":{"investor_ref":{"type":"string","description":"The investor.","example":"inv_demo_ana"},"ticker":{"type":"string","description":"The ASF, e.g. ASF:KEST.","example":"ASF:KEST"},"side":{"type":"string","description":"Buy or sell.","enum":["buy","sell"],"example":"buy"},"units":{"type":"integer","description":"Whole units, at least 1.","example":500},"limit_price":{"type":"number","description":"The worst price per unit you accept. Leave out for the market price.","example":1.45}}},"example":{"investor_ref":"inv_demo_ana","ticker":"ASF:KEST","side":"buy","units":500,"limit_price":1.45}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"id":"ord_Pq81","investor_ref":"inv_demo_ana","ticker":"ASF:KEST","side":"buy","units":500,"limit_price":1.45,"status":"received","created_at":"2026-12-05T01:00:00Z"}}}},"400":{"description":"bad_request; bad_json; wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"feature_off; address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"not_connected","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"idempotency_conflict","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/market/asfs":{"get":{"operationId":"listAsfs","tags":["Market"],"summary":"ASFs and their prices","description":"Every live ASF with its last price, NAV per unit, change today, volume and number of unit-holders. Delayed 20 minutes; live prices are licensed separately.","x-partner-kinds":["media","wealth","lender","adviser"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"ticker":"ASF:KEST","name":"Kestrel Robotics ASF","last_price":1.42,"nav_per_unit":1.35,"change_pct":2.9,"volume_today":18400,"unit_holders":214,"currency":"AUD"}],"as_of":"2026-12-05T00:40:00Z","delayed_minutes":20,"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/market/announcements":{"get":{"operationId":"listAnnouncements","tags":["Market"],"summary":"Company announcements","description":"Announcements ASF companies publish on Assetora+, newest first. Free to republish with a link back.","x-partner-kinds":["media","wealth","lender","adviser"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"name":"ticker","in":"query","required":false,"description":"Only this ASF, e.g. ASF:KEST.","schema":{"type":"string","description":"Only this ASF, e.g. ASF:KEST."}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"id":"ann_kest_31","ticker":"ASF:KEST","company":"Kestrel Robotics Pty Ltd","title":"Kestrel Robotics signs a three-year supply deal with a mining group","summary":"The deal covers 40 inspection robots over three years.","published_at":"2026-12-03T23:00:00Z","url":"https://news.assetora.com/"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/market/score-grades":{"get":{"operationId":"listScoreGrades","tags":["Market"],"summary":"Score grades of ASF companies","description":"The grade (A+ to D) and certificate level of each ASF company, for publishing. Live use is switched on only after the legal review.\n\nLive use waits on a legal review (switch `market.score_grades`); the sandbox works now.","x-partner-kinds":["media"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many to return, 1–100. Default 25.","schema":{"type":"integer","description":"How many to return, 1–100. Default 25.","example":25}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from the previous page.","schema":{"type":"string","description":"The next_cursor from the previous page."}},{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"ticker":"ASF:KEST","company":"Kestrel Robotics Pty Ltd","grade":"A","certificate":"reviewed","updated_at":"2026-12-04T19:00:00Z"}],"next_cursor":null}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"feature_off; address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/webhooks/events":{"get":{"operationId":"listWebhookEvents","tags":["Webhooks"],"summary":"Events you can subscribe to","description":"Every event Assetora+ can send to your webhook address, with an example. Subscribe in the console.","x-partner-kinds":"all","parameters":[{"$ref":"#/components/parameters/Version"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"data":[{"event":"lead.created","kinds":["lender"],"about":"A company shared a new finance request with you."}]}}}},"400":{"description":"wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/webhooks/test":{"post":{"operationId":"sendTestWebhook","tags":["Webhooks"],"summary":"Send a test event to your webhook","description":"Sends a signed example of an event to your webhook address(es) for this environment, so you can check your receiver and its signature check.","x-partner-kinds":"all","parameters":[{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/Idempotency"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["event"],"properties":{"event":{"type":"string","description":"Which event to send an example of.","example":"lead.created"}}},"example":{"event":"lead.created"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"},"example":{"sent_to":1,"deliveries":[{"id":"evt_Lm2a","url":"https://partner.example/hooks/assetora","status":200}]}}}},"400":{"description":"bad_request; bad_json; wrong_environment; unknown_version","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"missing_key; invalid_key","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"address_not_allowed; insufficient_scope","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"rate_limited","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"server_error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"webhooks":{"client.connected":{"post":{"summary":"A company or investor connected you.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"client.connected","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"client":{"id":"cmp_kestrel","type":"company"},"shares":["score","leads"]}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"client.disconnected":{"post":{"summary":"A company or investor disconnected you. Stop using their data.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"client.disconnected","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"client":{"id":"cmp_kestrel","type":"company"}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"lead.created":{"post":{"summary":"A company shared a new finance request with you.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"lead.created","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"lead":{"id":"lead_k7p2","company_id":"cmp_kestrel","amount":750000,"currency":"AUD","term_months":36}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"score.changed":{"post":{"summary":"A connected company's Score or grade changed.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"score.changed","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"company_id":"cmp_kestrel","score":782,"grade":"A","previous":{"score":771,"grade":"A"}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"offer.accepted":{"post":{"summary":"A company accepted your offer.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"offer.accepted","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"offer":{"id":"ofr_3hT9xk","status":"accepted"}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"offer.declined":{"post":{"summary":"A company declined your offer.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"offer.declined","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"offer":{"id":"ofr_3hT9xk","status":"declined"}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"loan.drawn":{"post":{"summary":"The loan from your offer was drawn.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"loan.drawn","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"offer":{"id":"ofr_3hT9xk","status":"drawn"},"amount":750000,"currency":"AUD","drawn_at":"2026-12-20T00:00:00Z"}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"client.setup_progress":{"post":{"summary":"A client company finished a set-up step.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"client.setup_progress","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"company_id":"cmp_coralbay","setup":{"done":7,"total":7}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"compliance.deadline_soon":{"post":{"summary":"A client company has a compliance deadline within 14 days.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"compliance.deadline_soon","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"company_id":"cmp_coralbay","deadline":"2026-12-21","what":"Annual review with ASIC"}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"holding.changed":{"post":{"summary":"A connected investor's units in an ASF changed.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"holding.changed","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"investor_ref":"inv_demo_ana","ticker":"ASF:KEST","units":12500}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"order.filled":{"post":{"summary":"Your order was filled.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"order.filled","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"order":{"id":"ord_Pq81","status":"filled","price":1.43}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}},"announcement.published":{"post":{"summary":"An ASF company published an announcement.","parameters":[{"name":"Assetora-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with your webhook secret>"}],"requestBody":{"content":{"application/json":{"example":{"id":"evt_…","event":"announcement.published","api_version":"2027-01-15","created_at":"2026-12-05T01:00:00Z","livemode":false,"data":{"announcement":{"id":"ann_kest_31","ticker":"ASF:KEST","title":"Kestrel Robotics signs a three-year supply deal with a mining group"}}}}}},"responses":{"200":{"description":"Answer 2xx within 10 seconds."}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"ak_test_… (sandbox) or ak_live_… (live)"}},"parameters":{"Version":{"name":"Assetora-Version","in":"header","required":false,"schema":{"type":"string","enum":["2027-01-15"]},"description":"The dated version to use. Default: the one your key was made with."},"Idempotency":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string"},"description":"Any unique string; repeating a request with the same key returns the first answer instead of doing it twice."}},"schemas":{"Problem":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","enum":["missing_key","invalid_key","key_not_live","wrong_environment","address_not_allowed","insufficient_scope","feature_off","not_connected","not_found","bad_request","bad_json","unknown_version","conflict","idempotency_conflict","rate_limited","server_error"]},"detail":{"type":"string"},"fix":{"type":"string"},"request_id":{"type":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"problem":{"type":"string"}}}}}}}},"x-common-errors":["missing_key","invalid_key","wrong_environment","address_not_allowed","insufficient_scope","rate_limited","unknown_version","server_error"]}