AutoConfig

Create Subscription

Changed on

Create an AutoConfig subscription.

post/api/v1/app/{app_id}/autoconfig

Request

  • Base URL
    https://api.eu.svix.com
  • URL
    https://api.eu.svix.com/api/v1/app/{app_id}/autoconfig
  • Auth
    HTTP bearer

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

Headers

idempotency-keystring

The request's idempotency key

Request body

featureFlagsstring[]

The set of feature flags the created token will have access to.

When omitted or empty, the token inherits the calling token's feature flags. When set, these flags are used instead. An application token may only grant a subset of its own flags.

Example request

{
  "featureFlags": [
    "cool-new-feature"
  ]
}

Response

createdAtstring date-time required
idstring required

The AutoConfigSubscription's ID.

tokenstring required

The AutoConfig token

Example response

{
  "id": "auto_1srOrx2ZWZBpBUvZwXKQmoEYga2",
  "token": "auto_v2_eyJhaWQiOiJhcHBfMXNyT3J4MlpXWk..."
}

Changes