To interact with the re-factor API, you must have an active re-factor account. We are currently in a private beta and are working to make the API public. Please reach out to our accounts team if you’d like to discuss participating in the beta.
Host
The re-factor API is hosted athttps://api.re-factor.ai/v1.
Authentication
All API endpoints are authenticated using Bearer tokens, which can be retrieved using the OAuth2.0 client credentials flow. Service accounts can be created in the re-factor platform Settings page. All requests must contain anAuthorization header in the format Bearer <token>, where <token> is the value of the OAuth2.0 access token.

Quotas
The re-factor API is to limit requests per minute and tokens per minute, based on the service tier that you have subscribed to. Upon exceeding these limits, you will receiveHTTP 429 responses with a Retry-After header specifying the number of seconds to wait before retrying the request. To learn more about our quota policies, please visit our pricing page.
OpenAPI Specification (v3.1.0)
All API endpoints are documented in the navigation on the left side of the screen. However, if you’d like to access the raw OpenAPI specification for client codegen, you can find it here:re-factor openapi spec
View the OpenAPI specification file

