---
title: "Create source"
method: POST
path: "/api/v1/sources"
tags: ["Events"]
---

# Create source

`POST /api/v1/sources`

## Request

- Base URL: `https://api-docs.relin.app`
- URL: `https://api-docs.relin.app/api/v1/sources`
- Auth: HTTP bearer

Create a source and return its one-time ingest URL.

## Request body

- object
  - `name` string, required
  - `vendor` 'github' | 'stripe' | 'shopify' | 'twilio' | 'sendgrid' | 'slack' | 'custom'
  - `signingSecret` string

## Response `200`

JSON response

- object
  - `source` unknown

## Other responses

- `201`: JSON response
- `202`: JSON response
- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

[API](https://skmtc.dev/relin/apis/relin-api.md) · [All operations](https://skmtc.dev/relin/apis/relin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/relin/apis/relin-api/revisions/a845a07c47dd?raw)
