Sends
Submit links or text for Pigeon to parse into saves.
Read a canonical send record
Returns the authorized Send record with only readable result targets. An ID for a different record kind returns not_found. Use fields to select whole top-level record values.
Path parameters
| Name | Type | Description |
|---|---|---|
| idrequired | string · uuid | Record ID. |
Query parameters
| Name | Type | Description |
|---|---|---|
| fields | string | Comma-separated, unique top-level record field names, without spaces. Identity, revision and deletion fields are always returned. Selecting body or state returns that entire value. |
Responses
200 Canonical Send record or selected fields.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.SelectedRecordSelectedRecordRecordrecord@1.read
curl -X GET "https://api.sendtopigeon.com/v1/sends/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/record" \
-H "Authorization: Bearer $PIGEON_TOKEN"GET https://api.sendtopigeon.com/v1/sends/01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11/recordSubmit a URL or text for parsing
Requires sends:create or equivalent write access. The receipt contains the pending send record. Read that record to check parse status and results, which reference canonical record IDs. A retry references an extraction-failed send created by this connection. Supply a new idempotency key and reuse it when repeating that retry request. A committed retry replays its receipt without looking up the earlier failed send. The combined URL or text and optional note must fit in the retry state budget.
Headers
| Name | Type | Description |
|---|---|---|
| Idempotency-Keyrequired | string · uuid | Stable UUID for this intent. Keep the same value on retry. |
Request body required
The combined URL or text and optional note must fit in 41209 bytes of compact UTF-8 JSON so Pigeon can retain the input for retry.
Option 1any of 2Option 2objectno extra fields
Responses
200 Successful receipt. When fair use is enabled the receipt also includes delayed (boolean) and estimate_seconds (integer or null), including on idempotent replay.application/json
request-idServer-generated request ID for support and tracing.Cache-ControlHub responses are private and must not be stored.opstringrequiredseqintegerrequired≥ 0≤ 9007199254740991resultsarray of objectrequireddelayedbooleanestimate_secondsany of 2
curl -X POST "https://api.sendtopigeon.com/v1/sends" \
-H "Authorization: Bearer $PIGEON_TOKEN" \
-H "Idempotency-Key: 01936f3e-5b7a-7c1d-9a40-2f1c8e0b6a11" \
-H "Content-Type: application/json" \
--data '{
"url": "https://example.com/"
}'{
"url": "https://example.com/"
}POST https://api.sendtopigeon.com/v1/sends