Skip to Content
Unmissed Cloud is coming soon.Join the waitlistJoin
Unmissed

Show a source

One source's settings and the destinations it sends to.

GET
/api/v1/sources/{source}

One source's settings and the destinations it sends to, each with this source's filter. Its signing secret is never returned, only whether one is set. Viewers get null for the receiving URL.

A connected app needs the read scope: read-only or full access.

Authorization

headerAuthorizationBearer <unm_ followed by 40 letters and digits>

A token from the CLI page in Unmissed. Revoke it there to stop it working.

Path Parameters

source*integer

The source's id, from List sources.

Formatint64

Response Body

The source.

application/json
  1. response

The service that sends webhooks, like Stripe, with where it sends them.

id*integer
Formatint64
name*string
receiving_url*|

Where the sender posts webhooks. null for viewers, since anyone with it can send webhooks on to your app.

signature_scheme*|null
has_signing_secret*boolean

Whether a signing secret is saved. The secret itself is never returned.

signing_secret_unreadable*boolean

The secret was saved with another server key, so every webhook fails its check until you send it again.

signatures_unchecked*boolean

A signature check is picked but has no secret yet, so every webhook gets through unchecked.

signature_header*|

The header the signature or secret arrives in, for hmac and supabase.

dedupe_by*|

How copies are dropped. content for the same body, id for the same event ID, null for off.

Value in"content""id"null
dedupe_on*|

Where the event ID is, when dedupe_by is id.

Value in"body""header"null
dedupe_field*|

The body field or header holding the event ID, like id.

retention_days*|

How many days webhooks are kept, or null for forever.

destinations*array<>

Where it sends webhooks, each with this source's filter.

created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'http://localhost:8080/api/v1/sources/0' \
  -H 'Authorization: Bearer '
Example Response
{
  "id": 0,
  "name": "string",
  "receiving_url": "string",
  "signature_scheme": "stripe",
  "has_signing_secret": true,
  "signing_secret_unreadable": true,
  "signatures_unchecked": true,
  "signature_header": "string",
  "dedupe_by": "content",
  "dedupe_on": "body",
  "dedupe_field": "string",
  "retention_days": 0,
  "destinations": [
    {
      "id": 0,
      "url": "string",
      "filter_on": "body",
      "filter_field": "string",
      "filter_values": "string"
    }
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}