CircleCI
Pipelines, workflows, jobs, artifacts and CI/CD insights
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
- Personal API token (CCIPAT_…)SecretRequired
Where to find them
- At app.circleci.com: your avatar → “User Settings” → “Personal API Tokens” → “Create New Token”.
- Give it a name and copy the token (CCIPAT_…): it is shown only once. It acts with your permissions in all your projects; project tokens do not work for API v2.
Tools (1)
CircleCI API request
CIRCLECI_SEND_REQUESTAuthenticated call to the CircleCI API (https://circleci.com/api/v2). Any endpoint of the API is allowed. {slug} is gh/{org}/{repo}, bb/{org}/{repo} or circleci/{org-id}/{project-id}. Examples: GET /me/collaborations (organizations), GET /pipeline?org-slug=gh/{org}&mine=false, GET /project/{slug}/pipeline?branch=main, GET /pipeline/{id}/workflow, GET /workflow/{id}/job, GET /project/{slug}/job/{number}, GET /project/{slug}/{number}/artifacts, GET /project/{slug}/{number}/tests, GET /insights/{slug}/workflows?branch=main, POST /project/{slug}/pipeline {"branch": "main"}, POST /workflow/{id}/rerun {"from_failed": true}, POST /workflow/{id}/cancel, GET /project/{slug}/envvar.
Required scopes
No scopes required
Input
CircleCI 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.

