curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?limit=50&offset=0"
curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?status=finished&limit=50&offset=0"
{
"data": [
{
"id": 123,
"press_release_title": "Chainwire Launches New Feature",
"order_status": "finished",
"distribution_date_utc": "2026-01-15 10:00:00",
"created_at": "2026-01-14 08:00:00"
}
],
"total": 42,
"limit": 50,
"offset": 0
}
{
"error": "Invalid status",
"message": "Allowed values for 'status': all, finished, processing."
}
Endpoints
Get Orders
Retrieve a paginated list of your PR distribution orders.
GET
/
orders
curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?limit=50&offset=0"
curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?status=finished&limit=50&offset=0"
{
"data": [
{
"id": 123,
"press_release_title": "Chainwire Launches New Feature",
"order_status": "finished",
"distribution_date_utc": "2026-01-15 10:00:00",
"created_at": "2026-01-14 08:00:00"
}
],
"total": 42,
"limit": 50,
"offset": 0
}
{
"error": "Invalid status",
"message": "Allowed values for 'status': all, finished, processing."
}
Fetches all orders for all members of your organization. Supports pagination and optional status filtering. Orders are returned sorted by
created_at descending.
Authorization
string
required
Bearer token. Example:
Bearer cw_ext_your_api_key_hereQuery Parameters
integer
default:"50"
The maximum number of orders to return. Minimum:
1, Maximum: 200.integer
default:"0"
The number of orders to skip before starting to collect the result set.
string
default:"all"
Filter orders by their current status.
| Value | Description |
|---|---|
all | All orders (default) |
finished | Fully distributed orders |
processing | Orders currently publishing or in publishing_ended state |
Response
integer
The total number of orders matching the query (before pagination).
integer
The limit applied to this response.
integer
The offset applied to this response.
array
curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?limit=50&offset=0"
curl -H "Authorization: Bearer cw_ext_your_key" \
"https://app.chainwire.org/api/external-api/v1/orders?status=finished&limit=50&offset=0"
{
"data": [
{
"id": 123,
"press_release_title": "Chainwire Launches New Feature",
"order_status": "finished",
"distribution_date_utc": "2026-01-15 10:00:00",
"created_at": "2026-01-14 08:00:00"
}
],
"total": 42,
"limit": 50,
"offset": 0
}
{
"error": "Invalid status",
"message": "Allowed values for 'status': all, finished, processing."
}