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

CLI 0.1.0 paths

The paths the CLI's first release calls. They keep working, but new code should use /api/v1.

List sources (old path)

Deprecated
GET
/api/sources

The same as List sources, at the path unmissed CLI 0.1.0 calls. It keeps working, so an older CLI goes on working. Use /api/v1/sources.

Authorization

apiToken
headerAuthorizationBearer <unm_ followed by 40 letters and digits>

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

Response Body

The sources.

application/json
  1. response
[index: integer]?

The service that sends webhooks, like Stripe.

Example Request
curl -X GET 'http://localhost:8080/api/sources' \
  -H 'Authorization: Bearer '
Example Response
[
  {
    "id": 0,
    "name": "string"
  }
]

Stream a source's webhooks (old path)

Deprecated
GET
/api/sources/{source}/stream

The same as Stream a source's webhooks, at the path unmissed CLI 0.1.0 calls. Use /api/v1/sources/{source}/stream.

Authorization

apiToken
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.

Formatint64

Query Parameters

after?integer

Start after this webhook id.

Formatint64

Response Body

An endless stream of events.

response?stringtext/event-stream
Example Request
curl -X GET 'http://localhost:8080/api/sources/0/stream' \
  -H 'Authorization: Bearer '
Example Responsetext/event-stream200
string