Apps authenticate as the installation, not as an end-user password. Admins grant scopes at install time; runtimes use install tokens.
Token types
| Token | Owner | Use |
|---|---|---|
| Developer credentials | Publisher | Manage apps via Platform / Apps API |
| Install token | One org install | Call Tradeics APIs under granted scopes |
| Webhook signing secret | One app or install | Verify event authenticity |
Install handshake (structure)
- Admin starts install from Store or private link.
- Consent screen shows scopes + pricing.
- Platform redirects / POSTs to your
setupURL with an authorization payload. - Your runtime stores the install id; retrieves install token via Apps API.
- Token rotation: Platform can revoke; your app must refresh per docs at GA.
Authorization header
Authorization: Bearer <INSTALL_TOKEN>
Same family as Getting Started → Authentication, different audience (installation).