Custom APIs

Create a custom API provider

Creates one BYOK provider and optionally up to 50 actions atomically. Requires an enterprise workspace with Custom APIs enabled, the workspace owner, credentials:manage and catalog:write, plus MFA or passkey step-up completed in the last ten minutes. Locus validates the upstream URL against SSRF controls, encrypts the credential, validates every JSON Schema and example, and never returns the raw credential.

post/credits/custom-endpoints

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/custom-endpoints
  • Auth
    HTTP bearer

Request body

slugstring required

Stable provider name. The public catalog name is custom-{slug}.

namestring required
descriptionstring
baseUrlstring uri required

HTTPS upstream origin validated against SSRF and private-network controls.

Response

Provider and any supplied actions created

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.