Get instance configuration
const url = 'https://example.com/api/v1/instance';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/instanceReturns public instance configuration such as deployment mode, enabled SSO providers, default delivery mode, and plugin public metadata. No authentication required.
Responses
Section titled “Responses”Public instance configuration
Public runtime configuration advertised by the Sendcrate instance.
object
Base URL of the admin application.
How recipients receive bytes: gated (access-checked redirect to short-lived presigned URL, or streamed for internal buckets), proxied (streamed through Sendcrate with exact download counts and instant revocation), direct (raw presigned URL, files only, <= 7 days, immutable), or public (provider ACL/policy or bucket public base URL, permanent).
Deployment model of this Sendcrate instance: hosted multi-tenant cloud or self-hosted.
Public metadata contributed by enabled plugins, keyed by plugin ID.
object
object
Whether self-service email sign-up (POST /signup) is enabled.
Whether proxied delivery is enabled on this instance.
Base URL used for recipient-facing share links.
SSO providers configured at the instance level.
Whether the self-hosted Instance status endpoint is enabled.
Example
{ "defaultDelivery": "gated", "deployment": "cloud", "ssoProviders": [ "google" ]}Unexpected server error. Quote data.requestId when you report it.
Error returned when Sendcrate or one of its providers fails (5xx).
object
object
Error chain with stack traces. Present only when the server runs in development mode.
Request reference to quote when you report the error.
Human-readable error explanation.
Example
{ "code": "INTERNAL_SERVER_ERROR"}