Apps

Install an external app (human workspace owner only)

Mints the service key carrying the decide grant plus the manifest's required_grants, stores the surface URL and allowed browser origin, and pre-consents the OAuth client. The plaintext key is returned ONCE and is never retrievable again. Machine callers are 403 whatever grants they hold.

post/v1/apps/{id}/install

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
surface_url, string

https URL of the external service UI; surfaces as endpoints.surface.

allowed_origin, string

Exact https origin admitted for the surface's browser calls. Must match the host of one of the OAuth client's registered redirect URIs, so oauth_client_id is required with it.

oauth_client_id, string uuid
key_name, string
confirm_subscriptions_endpoint, string

The manifest's subscriptions_endpoint, retyped by the owner (§B13.2 check 2). Required, and compared byte-for-byte, whenever the active version subscribes to anything.

bindings, object

Requirement slots bound to workspace resources, { "<alias>": "<uuid>" | "self" } — one entry per non-optional, non-self-scope slot the manifest's requires[] declares (see AppManifest.requires).

Example request

{
  "bindings": {
    "invoices": "3f9c9e3a-1b2c-4d5e-8f60-1234567890ab"
  }
}

Response

Installed. The service key AND the subscription signing secret appear here and nowhere else.

object required
install, AppInstall

The binding between one workspace and one external service (Apps spec B7.1). Not versioned and never part of the manifest: it holds the ids that exist in one deployment only (service key, OAuth client, URL, origin).

service_key, string
masked_prefix, string
subscription_secret, string nullable

The signing secret every subscription row of the install shares; null when the manifest subscribes to nothing.

subscriptions, AppInstallSubscriptionsState

What an install/approve/verify/rotate call reports about the install's subscription rows as a whole.

warning, string

Changes

No recorded changes to this operation across all 32 revisions of this API.