Codacy
Codacy code quality, repositories and issues
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Account API tokenSecretRequired
Where to find them
- In app.codacy.com open your account (avatar menu, top right) and go to the “Access management” tab.
- In “Account API tokens” click “Create API token”, choose the expiry (7, 30 or 90 days, or a date within a year) and copy the token: it is shown only once.
- The token has your user's permissions. It only works for Codacy Cloud (self-hosted installations use a different address).
Tools (1)
Codacy API request
CODACY_SEND_REQUESTAuthenticated call to the Codacy API (https://api.codacy.com/api/v3). Any endpoint of the API is allowed. Examples: GET /user/organizations, GET /organizations/{provider}/{organization}/repositories (provider: gh, gl or bb), GET /analysis/organizations/{provider}/{organization}/repositories/{repository}, POST /analysis/organizations/{provider}/{organization}/repositories/{repository}/issues/search {}.
Required scopes
No scopes required
Input
Codacy API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

