APIs and SDKsCore SDK
Using the Acme Core SDK
The @acme/sdk package is a typed TypeScript SDK that lets you reach the resources and methods of the Acme REST API from your own code.
Install the Acme Core SDK
To download and install the SDK, run this command:
pnpm i @acme/sdkSign-in
Access tokens are needed to sign in and use the SDK. Once you have created a token, you can pass it to the client as shown below:
import { Acme } from '@acme/sdk';const acme = new Acme({token: '<YOUR_TOKEN>',});
Troubleshooting
Make sure you create the token with the right team and scope. If you see permission (403) errors when you already send a valid token, it may be one of these problems:
- The token has expired. Check the end date of the token in the account settings dashboard.
- The token cannot reach the right scope, either because it is not tied to the right team or because it lacks the account level access it needs.
- The resource you are trying to use is not open to that team. For example, access groups are a Scale only feature and you are using a token for a team that is on another plan with fewer features turned on for it.
Endpoints
Browse every SDK method grouped by area.
- Access Groups11 endpoints
- Model Router25 endpoints
- Aliases6 endpoints
- Artifacts7 endpoints
- Sign-in5 endpoints
- Billing3 endpoints
- Bulk Redirects7 endpoints
- Certificates5 endpoints
- Checks10 endpoints
- Bridge15 endpoints
- Workers3 endpoints
- Releases10 endpoints
- DNS4 endpoints
- Domains9 endpoints
- Registrar19 endpoints
- Drains6 endpoints
- Drives5 endpoints
- Edge Cache4 endpoints
- Environment11 endpoints
- Toggles27 endpoints
- Global Config18 endpoints
- Integrations10 endpoints
- Keys13 endpoints
- Logs1 endpoint
- Add-ons25 endpoints
- Split Apps5 endpoints
- Networking11 endpoints
- Monitoring2 endpoints
- Organizations7 endpoints
- Project Routes8 endpoints
- Members3 endpoints
- Projects33 endpoints
- Rollouts8 endpoints
- Runners28 endpoints
- Security18 endpoints
- Fixed IPs1 endpoint
- Storage3 endpoints
- Teams16 endpoints
- User4 endpoints
- Registry27 endpoints
- Pipelines23 endpoints
- Visits4 endpoints
- Hooks4 endpoints