API reference

Ping

Confirms your key works and tells you which environment it belongs to.

GEThttps://app.journeystack.co/api/public/v1/ping

Request

cURL
curl "https://app.journeystack.co/api/public/v1/ping" \
  -H "Authorization: Bearer $JS_KEY"

Response

200 OK
{
  "data": {
    "ok": true,
    "environment": "sandbox",
    "partner": "Acme Travel",
    "currency": "USD",
    "server_time": "2026-01-14T09:30:00.000Z"
  }
}

Selected response fields

FieldTypeDescription
environmentstringsandbox or live, derived from the key you sent.
partnerstringYour company name as it appears on your Journey Stack account.
currencystringThe currency every price in the API is returned in.
server_timestringCurrent server time, ISO 8601 UTC. Useful for clock checks.

Errors

CodeHTTPWhat to do
unauthorized401Check the Authorization header and that the key is still active in your portal.
account_inactive403Nothing to retry. Contact support@journeystack.co.
rate_limited429Honour `Retry-After` (60 seconds) and back off. Ask support for a higher limit.

Sandbox console

Run this endpoint against the sandbox with your own test key. Nothing is provisioned on the live network and no real money moves.

Try it

/api/public/v1/ping