openapi: 3.1.0
info:
title: Svix Application Ingest Source API
description: 'Welcome to the Svix API documentation!
Useful links: [Homepage](https://www.svix.com) | [Support email](mailto:support+docs@svix.com) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/)
# Introduction
This is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com).
## Main concepts
In Svix you have four important entities you will be interacting with:
- `messages`: these are the webhooks being sent. They can have contents and a few other properties.
- `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform.
- `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type).
- `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint.
## Authentication
Get your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. For more information on authentication, please refer to the [authentication token docs](https://docs.svix.com/api-keys).
<SecurityDefinitions />
## Code samples
The code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/).
## Idempotency
Svix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response.
To perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions. Your idempotency key should not begin with the string `auto_`, which is reserved for internal use by the client libraries.
Svix''s idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result for a period of up to 12 hours.
Please note that idempotency is only supported for `POST` requests.
## Cross-Origin Resource Sharing
This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
'
version: 1.84.0
x-logo:
altText: Svix Logo
url: https://www.svix.com/static/img/brand-padded.svg
servers:
- url: https://api.eu.svix.com/
description: The Svix EU region
- url: https://api.us.svix.com/
description: The Svix US region
- url: https://api.ca.svix.com/
description: The Svix Canada region
- url: https://api.au.svix.com/
description: The Svix Australia region
- url: https://api.in.svix.com/
description: The Svix India region
tags:
- name: Ingest Source
paths:
/ingest/api/v1/source:
get:
tags:
- Ingest Source
summary: List Ingest Sources
description: List of all the organization's Ingest Sources.
operationId: v1.ingest.source.list
parameters:
- in: query
name: limit
description: Limit the number of returned items
schema:
description: Limit the number of returned items
type: integer
format: uint64
maximum: 250.0
minimum: 1.0
style: form
- in: query
name: iterator
description: The iterator returned from a prior invocation
schema:
description: The iterator returned from a prior invocation
type: string
maxLength: 26
minLength: 25
pattern: ^src_[A-Za-z0-9]{21,22}$
nullable: true
example: src_2yZwUhtgs5Ai8T9yRQJXA
style: form
- in: query
name: order
description: The sorting order of the returned items
schema:
description: The sorting order of the returned items
$ref: '#/components/schemas/Ordering'
nullable: true
style: form
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/ListResponse_IngestSourceOut_'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
security:
- HTTPBearer: []
x-codeSamples:
- label: JavaScript
lang: TypeScript
source: const response = await svix.ingest.source.list();
- label: TypeScript
lang: TypeScript
source: const response = await svix.ingest.source.list();
- label: Python
lang: Python
source: response = svix.ingest.source.list()
- label: Python (Async)
lang: Python
source: response = await svix.ingest.source.list()
- label: Go
lang: Go
source: response, err := svix.Ingest.Source.List(ctx, nil)
- label: Kotlin
lang: Kotlin
source: val response = svix.ingest.source.list()
- label: Java
lang: Java
source: var response = svix.getIngest().getSource().list();
- label: Ruby
lang: Ruby
source: response = svix.ingest.source.list
- label: Rust
lang: Rust
source: let response = svix.ingest().source().list(None).await?;
- label: C#
lang: C#
source: var response = svix.Ingest.Source.List();
- label: PHP
lang: PHP
source: $response = $svix->ingest->source->list();
- label: CLI
lang: Shell
source: svix ingest source list
- label: cURL
lang: Shell
source: "curl -X 'GET' \\\n 'https://api.eu.svix.com/ingest/api/v1/source' \\\n -H 'Authorization: Bearer AUTH_TOKEN' \\\n -H 'Accept: application/json'"
post:
tags:
- Ingest Source
summary: Create Ingest Source
description: Create Ingest Source.
operationId: v1.ingest.source.create
parameters:
- in: header
name: idempotency-key
description: The request's idempotency key
schema:
type: string
style: simple
- in: header
name: idempotency-key
description: The request's idempotency key
schema:
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceIn'
required: true
responses:
'201':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceOut'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
security:
- HTTPBearer: []
x-codeSamples:
- label: JavaScript
lang: TypeScript
source: "const response = await svix.ingest.source.create({\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n type: \"cron\",\n config: {\n contentType: \"sample string\",\n payload: \"sample string\",\n schedule: \"sample string\",\n },\n});"
- label: TypeScript
lang: TypeScript
source: "const response = await svix.ingest.source.create({\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n type: \"cron\",\n config: {\n contentType: \"sample string\",\n payload: \"sample string\",\n schedule: \"sample string\",\n },\n});"
- label: Python
lang: Python
source: "response = svix.ingest.source.create(\n IngestSourceIn(\n metadata={},\n name=\"sample string\",\n uid=\"unique-identifier\",\n type=\"cron\",\n config=CronConfig(\n content_type=\"sample string\",\n payload=\"sample string\",\n schedule=\"sample string\",\n ),\n ),\n)"
- label: Python (Async)
lang: Python
source: "response = await svix.ingest.source.create(\n IngestSourceIn(\n metadata={},\n name=\"sample string\",\n uid=\"unique-identifier\",\n type=\"cron\",\n config=CronConfig(\n content_type=\"sample string\",\n payload=\"sample string\",\n schedule=\"sample string\",\n ),\n ),\n)"
- label: Go
lang: Go
source: "response, err := svix.Ingest.Source.Create(\n\tctx,\n\tIngestSourceIn{\n\t\tMetadata: nil,\n\t\tName: \"sample string\",\n\t\tUid: new(\"unique-identifier\"),\n\t\tConfig: (CronConfig{ContentType: new(\"sample string\"), Payload: \"sample string\", Schedule: \"sample string\"}),\n\t\tType: \"cron\",\n\t},\n\tnil,\n)"
- label: Kotlin
lang: Kotlin
source: "val response =\n svix.ingest.source.create(\n IngestSourceIn(\n metadata = mapOf(),\n name = \"sample string\",\n uid = \"unique-identifier\",\n config =\n IngestSourceInConfig.Cron(\n CronConfig(\n contentType = \"sample string\",\n payload = \"sample string\",\n schedule = \"sample string\",\n )\n ),\n )\n )"
- label: Java
lang: Java
source: "var response = svix.getIngest()\n .getSource()\n .create(new IngestSourceIn()\n .metadata(Map.of())\n .name(\"sample string\")\n .uid(\"unique-identifier\")\n .config(new IngestSourceInConfig.Cron(new CronConfig()\n .contentType(\"sample string\")\n .payload(\"sample string\")\n .schedule(\"sample string\"))));"
- label: Ruby
lang: Ruby
source: "response = svix\n .ingest\n .source\n .create(\n {\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n config: {contentType: \"sample string\", payload: \"sample string\", schedule: \"sample string\"},\n type: \"cron\"\n }\n )"
- label: Rust
lang: Rust
source: "let response = svix\n .ingest()\n .source()\n .create(\n IngestSourceIn {\n metadata: Some(HashMap::new()),\n name: \"sample string\".to_string(),\n uid: Some(\"unique-identifier\".to_string()),\n config: IngestSourceInConfig::Cron(CronConfig {\n content_type: Some(\"sample string\".to_string()),\n payload: \"sample string\".to_string(),\n schedule: \"sample string\".to_string(),\n }),\n },\n None,\n )\n .await?;"
- label: C#
lang: C#
source: "var response = svix.Ingest.Source.Create(\n new IngestSourceIn\n {\n Metadata = [],\n Name = \"sample string\",\n Uid = \"unique-identifier\",\n Config = IngestSourceInConfig.Cron(\n (\n new CronConfig\n {\n ContentType = \"sample string\",\n Payload = \"sample string\",\n Schedule = \"sample string\",\n }\n )\n ),\n }\n);"
- label: PHP
lang: PHP
source: "$response = $svix->ingest->source->create(\n IngestSourceIn::create(\n name: \"sample string\"\n )\n ->withMetadata([])\n ->withUid(\"unique-identifier\")\n);"
- label: CLI
lang: Shell
source: "svix ingest source create '{\n \"config\": {\n \"contentType\": \"sample string\",\n \"payload\": \"sample string\",\n \"schedule\": \"sample string\"\n },\n \"metadata\": {},\n \"name\": \"sample string\",\n \"type\": \"cron\",\n \"uid\": \"unique-identifier\"\n }'"
- label: cURL
lang: Shell
source: "curl -X 'POST' \\\n 'https://api.eu.svix.com/ingest/api/v1/source' \\\n -H 'Authorization: Bearer AUTH_TOKEN' \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -d '{\n \"config\": {\n \"contentType\": \"sample string\",\n \"payload\": \"sample string\",\n \"schedule\": \"sample string\"\n },\n \"metadata\": {},\n \"name\": \"sample string\",\n \"type\": \"cron\",\n \"uid\": \"unique-identifier\"\n }'"
/ingest/api/v1/source/{source_id}:
get:
tags:
- Ingest Source
summary: Get Ingest Source
description: Get an Ingest Source by id or uid.
operationId: v1.ingest.source.get
parameters:
- in: path
name: source_id
description: The Source's ID or UID.
required: true
schema:
description: The Source's ID or UID.
type: string
maxLength: 60
minLength: 1
example: unique-identifier
style: simple
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceOut'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
security:
- HTTPBearer: []
x-codeSamples:
- label: JavaScript
lang: TypeScript
source: const response = await svix.ingest.source.get("src_31Dc4Mx7vQVLfxFgArIhq");
- label: TypeScript
lang: TypeScript
source: const response = await svix.ingest.source.get("src_31Dc4Mx7vQVLfxFgArIhq");
- label: Python
lang: Python
source: "response = svix.ingest.source.get(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n)"
- label: Python (Async)
lang: Python
source: "response = await svix.ingest.source.get(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n)"
- label: Go
lang: Go
source: response, err := svix.Ingest.Source.Get(ctx, "src_31Dc4Mx7vQVLfxFgArIhq")
- label: Kotlin
lang: Kotlin
source: val response = svix.ingest.source.get("src_31Dc4Mx7vQVLfxFgArIhq")
- label: Java
lang: Java
source: var response = svix.getIngest().getSource().get("src_31Dc4Mx7vQVLfxFgArIhq");
- label: Ruby
lang: Ruby
source: response = svix.ingest.source.get("src_31Dc4Mx7vQVLfxFgArIhq")
- label: Rust
lang: Rust
source: "let response = svix\n .ingest()\n .source()\n .get(\"src_31Dc4Mx7vQVLfxFgArIhq\".to_string())\n .await?;"
- label: C#
lang: C#
source: var response = svix.Ingest.Source.Get("src_31Dc4Mx7vQVLfxFgArIhq");
- label: PHP
lang: PHP
source: "$response = $svix->ingest->source->get(\n \"src_31Dc4Mx7vQVLfxFgArIhq\"\n);"
- label: CLI
lang: Shell
source: svix ingest source get "src_31Dc4Mx7vQVLfxFgArIhq"
- label: cURL
lang: Shell
source: "curl -X 'GET' \\\n 'https://api.eu.svix.com/ingest/api/v1/source/src_31Dc4Mx7vQVLfxFgArIhq' \\\n -H 'Authorization: Bearer AUTH_TOKEN' \\\n -H 'Accept: application/json'"
put:
tags:
- Ingest Source
summary: Update Source
description: Update an Ingest Source.
operationId: v1.ingest.source.update
parameters:
- in: path
name: source_id
description: The Source's ID or UID.
required: true
schema:
description: The Source's ID or UID.
type: string
maxLength: 60
minLength: 1
example: unique-identifier
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceIn'
required: true
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceOut'
'201':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceOut'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
security:
- HTTPBearer: []
x-codeSamples:
- label: JavaScript
lang: TypeScript
source: "const response = await svix.ingest.source.update(\"src_31Dc4Mx7vQVLfxFgArIhq\", {\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n type: \"cron\",\n config: {\n contentType: \"sample string\",\n payload: \"sample string\",\n schedule: \"sample string\",\n },\n});"
- label: TypeScript
lang: TypeScript
source: "const response = await svix.ingest.source.update(\"src_31Dc4Mx7vQVLfxFgArIhq\", {\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n type: \"cron\",\n config: {\n contentType: \"sample string\",\n payload: \"sample string\",\n schedule: \"sample string\",\n },\n});"
- label: Python
lang: Python
source: "response = svix.ingest.source.update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n IngestSourceIn(\n metadata={},\n name=\"sample string\",\n uid=\"unique-identifier\",\n type=\"cron\",\n config=CronConfig(\n content_type=\"sample string\",\n payload=\"sample string\",\n schedule=\"sample string\",\n ),\n ),\n)"
- label: Python (Async)
lang: Python
source: "response = await svix.ingest.source.update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n IngestSourceIn(\n metadata={},\n name=\"sample string\",\n uid=\"unique-identifier\",\n type=\"cron\",\n config=CronConfig(\n content_type=\"sample string\",\n payload=\"sample string\",\n schedule=\"sample string\",\n ),\n ),\n)"
- label: Go
lang: Go
source: "response, err := svix.Ingest.Source.Update(\n\tctx,\n\t\"src_31Dc4Mx7vQVLfxFgArIhq\",\n\tIngestSourceIn{\n\t\tMetadata: nil,\n\t\tName: \"sample string\",\n\t\tUid: new(\"unique-identifier\"),\n\t\tConfig: (CronConfig{ContentType: new(\"sample string\"), Payload: \"sample string\", Schedule: \"sample string\"}),\n\t\tType: \"cron\",\n\t},\n)"
- label: Kotlin
lang: Kotlin
source: "val response =\n svix.ingest.source.update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n IngestSourceIn(\n metadata = mapOf(),\n name = \"sample string\",\n uid = \"unique-identifier\",\n config =\n IngestSourceInConfig.Cron(\n CronConfig(\n contentType = \"sample string\",\n payload = \"sample string\",\n schedule = \"sample string\",\n )\n ),\n ),\n )"
- label: Java
lang: Java
source: "var response = svix.getIngest()\n .getSource()\n .update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n new IngestSourceIn()\n .metadata(Map.of())\n .name(\"sample string\")\n .uid(\"unique-identifier\")\n .config(new IngestSourceInConfig.Cron(new CronConfig()\n .contentType(\"sample string\")\n .payload(\"sample string\")\n .schedule(\"sample string\"))));"
- label: Ruby
lang: Ruby
source: "response = svix\n .ingest\n .source\n .update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n {\n metadata: {},\n name: \"sample string\",\n uid: \"unique-identifier\",\n config: {contentType: \"sample string\", payload: \"sample string\", schedule: \"sample string\"},\n type: \"cron\"\n }\n )"
- label: Rust
lang: Rust
source: "let response = svix\n .ingest()\n .source()\n .update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\".to_string(),\n IngestSourceIn {\n metadata: Some(HashMap::new()),\n name: \"sample string\".to_string(),\n uid: Some(\"unique-identifier\".to_string()),\n config: IngestSourceInConfig::Cron(CronConfig {\n content_type: Some(\"sample string\".to_string()),\n payload: \"sample string\".to_string(),\n schedule: \"sample string\".to_string(),\n }),\n },\n )\n .await?;"
- label: C#
lang: C#
source: "var response = svix.Ingest.Source.Update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n new IngestSourceIn\n {\n Metadata = [],\n Name = \"sample string\",\n Uid = \"unique-identifier\",\n Config = IngestSourceInConfig.Cron(\n (\n new CronConfig\n {\n ContentType = \"sample string\",\n Payload = \"sample string\",\n Schedule = \"sample string\",\n }\n )\n ),\n }\n);"
- label: PHP
lang: PHP
source: "$response = $svix->ingest->source->update(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n IngestSourceIn::create(\n name: \"sample string\"\n )\n ->withMetadata([])\n ->withUid(\"unique-identifier\")\n);"
- label: CLI
lang: Shell
source: "svix ingest source update \"src_31Dc4Mx7vQVLfxFgArIhq\" '{\n \"config\": {\n \"contentType\": \"sample string\",\n \"payload\": \"sample string\",\n \"schedule\": \"sample string\"\n },\n \"metadata\": {},\n \"name\": \"sample string\",\n \"type\": \"cron\",\n \"uid\": \"unique-identifier\"\n }'"
- label: cURL
lang: Shell
source: "curl -X 'PUT' \\\n 'https://api.eu.svix.com/ingest/api/v1/source/src_31Dc4Mx7vQVLfxFgArIhq' \\\n -H 'Authorization: Bearer AUTH_TOKEN' \\\n -H 'Accept: application/json' \\\n -H 'Content-Type: application/json' \\\n -d '{\n \"config\": {\n \"contentType\": \"sample string\",\n \"payload\": \"sample string\",\n \"schedule\": \"sample string\"\n },\n \"metadata\": {},\n \"name\": \"sample string\",\n \"type\": \"cron\",\n \"uid\": \"unique-identifier\"\n }'"
delete:
tags:
- Ingest Source
summary: Delete Ingest Source
description: Delete an Ingest Source.
operationId: v1.ingest.source.delete
parameters:
- in: path
name: source_id
description: The Source's ID or UID.
required: true
schema:
description: The Source's ID or UID.
type: string
maxLength: 60
minLength: 1
example: unique-identifier
style: simple
responses:
'204':
description: no content
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests
content:
application/json:
schema:
$ref: '#/components/schemas/HttpErrorOut'
security:
- HTTPBearer: []
x-codeSamples:
- label: JavaScript
lang: TypeScript
source: await svix.ingest.source.delete("src_31Dc4Mx7vQVLfxFgArIhq");
- label: TypeScript
lang: TypeScript
source: await svix.ingest.source.delete("src_31Dc4Mx7vQVLfxFgArIhq");
- label: Python
lang: Python
source: "svix.ingest.source.delete(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n)"
- label: Python (Async)
lang: Python
source: "await svix.ingest.source.delete(\n \"src_31Dc4Mx7vQVLfxFgArIhq\",\n)"
- label: Go
lang: Go
source: err := svix.Ingest.Source.Delete(ctx, "src_31Dc4Mx7vQVLfxFgArIhq")
- label: Kotlin
lang: Kotlin
source: "svix.ingest.source.delete(\n \"src_31Dc4Mx7vQVLfxFgArIhq\"\n)"
- label: Java
lang: Java
source: svix.getIngest().getSource().delete("src_31Dc4Mx7vQVLfxFgArIhq");
- label: Ruby
lang: Ruby
source: response = svix.ingest.source.delete("src_31Dc4Mx7vQVLfxFgArIhq")
- label: Rust
lang: Rust
source: svix.ingest().source().delete("src_31Dc4Mx7vQVLfxFgArIhq".to_string()).await?;
- label: C#
lang: C#
source: var response = svix.Ingest.Source.Delete("src_31Dc4Mx7vQVLfxFgArIhq");
- label: PHP
lang: PHP
source: "$svix->ingest->source->delete(\n \"src_31Dc4Mx7vQVLfxFgArIhq\"\n);"
- label: CLI
lang: Shell
source: svix ingest source delete "src_31Dc4Mx7vQVLfxFgArIhq"
- label: cURL
lang: Shell
source: "curl -X 'DELETE' \\\n 'https://api.eu.svix.com/ingest/api/v1/source/src_31Dc4Mx7vQVLfxFgArIhq' \\\n -H 'Authorization: Bearer AUTH_TOKEN'"
/ingest/api/v1/source/{source_id}/dashboard:
post:
tags:
- Ingest Source
summary: Ingest Source Consumer Portal
description: Get access to the Ingest Source Consumer Portal.
operationId: v1.ingest.dashboard
parameters:
- in: path
name: source_id
description: The Source's ID or UID.
required: true
schema:
description: The Source's ID or UID.
type: string
maxLength: 60
minLength: 1
example: unique-identifier
style: simple
- in: header
name: idempotency-key
description: The request's idempotency key
schema:
type: string
style: simple
- in: header
name: idempotency-key
description: The request's idempotency key
schema:
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/IngestSourceConsumerPortalAccessIn'
required: true
responses:
'200':
description: ''
content:
application/json
# --- truncated at 32 KB (145 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/svix/refs/heads/main/openapi/svix-ingest-source-api-openapi.yml