PigeonDocs

Sends

Submit links or text for Pigeon to parse into saves.

2 operationshttps://api.sendtopigeon.com
GET/v1/sends/{id}/record#

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.

getSendRecordOAuth2PersonalAccessTokenPigeonSessionBearerPigeonSessionCookie

Path parameters

NameTypeDescription
idrequiredstring · uuidRecord ID.

Query parameters

NameTypeDescription
fieldsstringComma-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.
Bodyany of 2
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/record
POST/v1/sends#

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

createSendOAuth2PersonalAccessTokenPigeonSessionBearerPigeonSessionCookie

Headers

NameTypeDescription
Idempotency-Keyrequiredstring · uuidStable UUID for this intent. Keep the same value on retry.

Request body required

application/jsonany of 2

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 2
  • Option 2object
    no 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.
BodySendReceiptno extra fields
  • opstringrequired
  • seqintegerrequired
    ≥ 0≤ 9007199254740991
  • resultsarray of objectrequired
  • delayedboolean
  • estimate_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/"
}'
JSONExample body
{
  "url": "https://example.com/"
}
POST https://api.sendtopigeon.com/v1/sends