Skip to content
Status

Get gateway connection status

GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/gateways/{gateway_id}/connection

GET
/gateways/{gateway_id}/connection

Get the current connection status of a gateway

gateway_id
required
string

The gateway’s ID (gw_...), or its code.

Gateway connection status

Media typeapplication/json
object
connection
object
object
id
string

Gateway ID

connection_status
string

Current connection status (e.g., OK)

connection_status_date
string · date-time

Timestamp of the last status check

Bad request - invalid parameters

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Unauthorized - invalid credentials

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Gateway not found

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Was this page helpful?