GET
/
api
/
v1
/
owners
Get the list of Safe owners
const url = 'https://api.gnosispay.com/api/v1/owners';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "owners": [
      "0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved the list of Safe owners.

The response is of type object.