GET
/
api
/
v1
/
safe
/
deploy
Get the Safe deployment status.
const url = 'https://api.gnosispay.com/api/v1/safe/deploy';
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);
}
{
  "status": "ok",
  "updatedAt": "2021-01-01T00:00:00.000Z"
}

Authorizations

Authorization
string
header
required

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

Response

Successfully retrieved the deployment status of the Safe account.

status
enum<string>

The status of the deployment.

Available options:
ok,
not_deployed,
processing,
failed
Example:

"ok"

updatedAt
string<date-time>

The timestamp of the last update.

Example:

"2021-01-01T00:00:00.000Z"