This endpoint allows you to fetch data about the Gateways of your Team.
Last updated 1 month ago
Was this helpful?
/api/v1/gateways
curl -L \ --url 'https://integration.goodaccess.com/api/v1/gateways' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[ { "id": "99db5a81-d652-4c19-a61a-54df989678f6", "created_at": "2024-05-02 13:31:37", "name": "US Gateway #1", "hostname": "75-us-190-d866o.accessgate.cloud", "location": "San Francisco, United States", "ip": "120.10.10.13", "status": "up" } ]
/api/v1/gateway/{gatewayId}
ID of gateway
curl -L \ --url 'https://integration.goodaccess.com/api/v1/gateway/{gatewayId}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "99db5a81-d652-4c19-a61a-54df989678f6", "created_at": "2024-05-02 13:31:37", "name": "US Gateway #1", "hostname": "75-us-190-d866o.accessgate.cloud", "location": "San Francisco, United States", "ip": "120.10.10.13", "status": "up" }