Read the event feed
GET
/events
const url = 'https://shipjay.com/api/v1/events?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://shipjay.com/api/v1/events?limit=50' \ --header 'Authorization: Bearer <token>'Events are kept for 30 days. Poll with after set to the last id you processed, oldest first. Types: shipment.purchased, shipment.refund_requested, shipment.refunded, shipment.refund_rejected, tracking.updated, return.requested, return.approved, return.rejected, return.received, adjustment.applied, batch.completed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”after
string format: uuid
limit
integer
type
string
Responses
Section titled “Responses”Success.
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
type
required
string
data
required
object
key
additional properties
created_at
required
string
next_cursor
required
string | null
Example generated
{ "data": [ { "id": "example", "type": "example", "data": { "additionalProperty": "example" }, "created_at": "example" } ], "next_cursor": "example"}Missing or invalid API key.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example
{ "error": { "code": "validation" }}The key lacks the required permission, or the account is suspended.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example
{ "error": { "code": "validation" }}The resource does not exist.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example
{ "error": { "code": "validation" }}The request is not valid. error.details.issues lists the problems.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example
{ "error": { "code": "validation" }}Too many requests. Wait Retry-After seconds.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
request_id
required
string
Example
{ "error": { "code": "validation" }}© 2026 Ship Jay. All rights reserved. Created & Developed by WCWS Internet
