ExtensionInstallations
Get an installation
Returns one installation with its permissions, scope, send mode, and webhook endpoint.
GET
Returns one installation with its permissions, scope, send mode, and webhook endpoint.
apiKeyheader
x-api-key<token>id*stringMatch
^exti_[0-9a-hjkmnp-tv-z]{16,24}$ExtensionInstallation
application/json- response
id*ExtensionInstallationIdMatch
^exti_[0-9a-hjkmnp-tv-z]{16,24}$extensionId*ExtensionIdMatch
^ext_[0-9a-hjkmnp-tv-z]{16,24}$name*stringdisplayName*stringversion*runtime*stringValue in
"hosted""webhook"status*stringValue in
"active""disabled"createdAt*stringevents*array<>permissions*array<>sendMode*stringValue in
"send""approval"scope*webhook*|nullupdatedAt*stringdisabledAt*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.extensionInstallations.get({ "id": "example"});Example Response
{ "id": "string", "extensionId": "string", "name": "string", "displayName": "string", "version": { "id": "string", "version": "string" }, "runtime": "hosted", "status": "active", "createdAt": "string", "events": [ "mailbox.message.received" ], "permissions": [ "read" ], "sendMode": "send", "scope": { "mailboxIds": [ "string" ], "namespaceId": "string" }, "webhook": { "endpointId": "string", "url": "string" }, "updatedAt": "string", "disabledAt": "string"}