API applications let your own apps, sites and integrations work with your shop through the Selldone API. Each application is an OAuth client: people sign in and approve it, and your app receives access tokens for API calls. Open Settings โบ API in your shop dashboard.
Choose the application type
- Public client โ has no secret. Use it for mobile apps, single-page apps and other code that runs on the user's device, with the PKCE sign-in flow.
- Confidential client โ keeps a secret on your secure server. Use it for server-side apps.
Choose an API client type
Both types use OAuth 2.0 authorization code sign-in to get access tokens for your shop.
Text version
- You are building an app
- Can it keep a secret on a server?
Only code that runs on your own server can protect a secret.
- Confidential client
Store the client secret on your server. It is shown only once.
- Public client
Mobile apps and single-page apps. Use PKCE instead of a secret.
- Get access tokens with OAuth
Users sign in and approve; your app receives tokens.
- Call the Selldone API
Send the access token with each request.
Connected
- You are building an app Can it keep a secret on a server?
- Can it keep a secret on a server? Confidential client: Yes
- Can it keep a secret on a server? Public client: No
- Confidential client Get access tokens with OAuth
- Public client Get access tokens with OAuth
- Get access tokens with OAuth Call the Selldone API
Create an application
- In API applications, select Add application.
- Enter an Application name your users will recognize.
- Choose the Application type: Public client or Confidential client.
- Under Callback URLs, type each address that may receive the sign-in result and press Enter or Tab to add it.
- Select Create client.

For a confidential client, Save your client secret now appears with the Client secret. This is the only time it is shown. Store it in your server's secure settings, then select Done โ secret saved. Never put the secret in a website, mobile app or public repository.
Manage your applications
- The list shows each application with its Client ID (with a copy button), owner and type.
- Select Edit to change the name, type or callback URLs, then Save changes. Select Delete to remove an application; apps that use it stop working.
- To replace a lost or leaked secret, switch the application to Public client and save, then switch it back to Confidential client and save. A new secret is shown once, and the previous one stops working.

Use the API
Use the OAuth 2.0 authorization code flow: with PKCE for public clients, or with the client secret on your server for confidential clients. Then send the access token with each API request. The Selldone API documentation lists the endpoints, and Rate limits explains request limits.
To connect an AI assistant, use Selldone MCP instead. See MCP with Claude and MCP with ChatGPT.