C
CircleCI REST API v2
Details
- URL
-
https://circleci.com/api/v2 - Docs
- https://circleci.com/docs/api/v2/index.html
Authentication
Personal API token
Circle-Token: <credential> + Personal API token Authorization: Bearer <credential> discovered In the CircleCI app, open User settings, then Personal API Tokens, click Create New Token, give it a name, and click Add API Token. Copy the token when it is shown; CircleCI says you will not be able to view it again. The docs state personal API tokens are used to interact with CircleCI APIs v1 and v2, and the API developer guide says they are currently the only supported tokens on API v2.
Authorization: Basic <credential> /?circle-token=<credential>