# Gets all subscriptions available. Endpoint: GET /api/subscriptions Version: v1 Security: authorization_code_dev, client_credentials_dev, authorization_code, client_credentials ## Header parameters: - `ResourceUri` (string) ResourceUri to create the event subscriptions under. - `TenantId` (string) TenantId used by the customer. ## Response 200 fields (text/plain): - `name` (string,null) A unique identifier for the subscription. Example: "ExampleName" - `eventTypes` (array,null) List of events to subscribe to. - `delivery` (object) An object used to configure event delivery properties. - `delivery.url` (string,null) An url to the webhook that should receive the events. Example: "https://localhost.test" - `delivery.maxEventsPerBatch` (integer,null) Max number of events to be sent in a single batch. Example: 10 - `delivery.preferredBatchSizeInKiloBytes` (integer,null) preferred size in kilo bytes, of the batches to be sent. Example: 128 - `delivery.authorizationHeader` (string,null) Authorization header that will be included in all webhook deliveries. Example: "Bearer mF_9.B5f-4.1JqM" - `expirationDate` (string,null) A date and time for when the subscription should expire. Example: "05/29/2024 05:50:06" - `retryPolicy` (object) An object used to configure the retry policy for the subscription. - `retryPolicy.ttl` (string) A period for the events to be retried if they fail Example: "00:10:00" - `retryPolicy.maxEventDeliveryAttempts` (integer) Max number of retries for a event if it fails. Example: 30 - `deadletterEnabled` (boolean) A boolean describing if failed events should be stored in a container. Example: true - `provisioningState` (string,null) An event status describing the status for the subscription. Ok - the subscription is active and operating. Pending - the subscription is awaiting webhook validation from user. Processing - the subscription is applying changes, will change status to Ok when done. Aborted - the last changes was either canceled or failed. Example: "Ok" ## Response 400 fields (text/plain): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 404 fields (text/plain): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null)