Skip to content

Commit a504daa

Browse files
authored
Move personal access token (#3481)
* Update personal API token location * Remove redundant text * Rephrase
1 parent 3e7b8b0 commit a504daa

6 files changed

Lines changed: 7 additions & 10 deletions

File tree

content/getting-started/about-codemagic.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,3 @@ Full pricing details can be found on our pricing page [here](https://docs.codema
6565
## Blog
6666

6767
The [Codemagic blog](https://blog.codemagic.io/) is a great resource that covers a multitude of technical subjects related to CI/CD ranging from code signing and publishing to general application development.
68-
69-
## Newsletter
70-
71-
To stay updated with the latest news and updates about the Codemagic product, subscribe to our Newsletter. You can do this by clicking on the "Sign me up for newsletter" checkbox on your User Preferences page.

content/getting-started/faq.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ Because of this shared model, we cannot guarantee consistent performance at all
7575
For customers who require predictable and stable performance, dedicated hosts are recommended. In such setups, hardware resources are reserved, and customers can explicitly configure their environment to run a single virtual machine per physical host, eliminating resource contention.
7676

7777
## Where can I find the Codemagic API Token?
78+
7879
Each Codemagic user has their own personal API token. There is no shared API token at the team level, so you should always use the token from your personal account, even when working within a team.
7980

80-
Select **Personal account** in the menu and navigate to **Settings** > **Integrations** > **Codemagic API** > **Show**
81+
Navigate to **Account settings > API token** to get your API token.
8182

8283
## How to delete a Codemagic account?
8384
If you need to delete your Codemagic account, select **Personal account** in the menu and navigate to **Settings** > **Danger zone** > **Delete account**.

content/rest-api/codemagic-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Authentication with Codemagic APIs is performed using a **Codemagic API token**.
1717

1818
The Codemagic API token is a personal token that is unique to each Codemagic user. The actions permitted by the token are determined by the user’s role within the team.
1919

20-
To find your API token, select **Personal account** from the left navigation bar team selection, then click **Settings > Integrations > Codemagic API > Show**.
20+
To find your API token, navigate to **Account settings > API token**.
2121

2222
When making API calls, include the API token in the `x-auth-token` request header. For security reasons, we recommend storing the token as an environment variable and referencing it in your requests, rather than embedding the token value directly in your code or workflows. For example:
2323

content/yaml-notification/telegram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add the following environment variables to your project settings in Codemagic:
2424

2525
- **TELEGRAM_BOT_TOKEN**: Your Telegram bot token
2626
- **TELEGRAM_CHAT_ID**: The ID of the chat where the bot will send notifications
27-
- **CODEMAGIC_API_TOKEN**: Your Codemagic API token (found under Personal account > Settings > Integrations > Codemagic API)
27+
- **CODEMAGIC_API_TOKEN**: Your Codemagic API token (found under **Account settings > API token**)
2828

2929
### Setup Codemagic Configuration
3030

content/yaml-quick-start/white-label-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To add these values you can either use the [Codemagic UI](https://docs.codemagic
5959

6060
To add an environment variable using the Codemagic REST API, you need your API access token, the application id, the client group unique name, and the variable name and value.
6161

62-
- The access token is available in the Codemagic UI in your personal account settings. Select your personal account and go to **Settings > Integrations > Codemagic API > Show**. You can then store this as an environment variable if you are calling the REST API from other workflows.
62+
- The access token is available in the Codemagic UI in **Account settings > API token**. You can then store this as an environment variable if you are calling the REST API from other workflows.
6363
- Once you have added your app in Codemagic, open its settings and copy the **application id** from the browser address bar - `https://codemagic.io/app/<APP_ID>/settings`
6464
- The client group name is the group that holds all variables for this client e.g. `WL_001`, `WL_002`.
6565

@@ -418,7 +418,7 @@ The Codemagic REST API is used in a white-label workflow to trigger builds for e
418418

419419
To trigger a build using the Codemagic REST API, you need your API access token, the application id, and the workflow id.
420420

421-
- The access token is available in the Codemagic UI in your personal account settings. Select your personal account and go to **Settings > Integrations > Codemagic API > Show**. You can then store this as an environment variable if you are calling the REST API from other workflows.
421+
- The access token is available in the Codemagic UI in **Account settings > API token**. You can then store this as an environment variable if you are calling the REST API from other workflows.
422422
- Once you have added your app in Codemagic, open its settings and copy the **application id** from the browser address bar - `https://codemagic.io/app/<APP_ID>/settings`
423423
- The workflow id is the string value you assigned to the `name` property e.g "ios-qa-build"
424424

content/yaml-running-builds/fan-out-fan-in-builds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Codemagic does not have a built-in DAG (directed acyclic graph) UI for declaring
5757
| **Item** | **Where to get it** |
5858
|---|---|
5959
| Codemagic account (Team plan or higher) | [Sign up for free](https://codemagic.io/signup) |
60-
| Codemagic API token | **Personal Account → Settings → Integrations → Codemagic API → Show** |
60+
| Codemagic API token | **Account settings → API token** |
6161
| App ID for your app | From the browser address bar (e.g. `https://codemagic.io/app/<APP_ID>/settings`) after selecting **Applications****Open app settings (cogwheel icon)** |
6262
| Sufficient concurrencies | **Team Settings → Concurrencies** — you need enough concurrent slots for the main workflow plus parallel build branches |
6363

0 commit comments

Comments
 (0)