POST
/
api
/
v1
/
owners
Add a new owner to the Safe
const url = 'https://api.gnosispay.com/api/v1/owners';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"newOwner":"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382","signature":"0x1234567890abcdef...","message":{"salt":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","data":"0xa9059cbb0000000000000000000000003270bf32ab647e90ef94a026c70aa1daaaada2382"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "id": "clp3j1f9a0000a1cdh6ezx2qv",
    "safeAddress": "0x1234567890abcdef1234567890abcdef12345678",
    "transactionData": "0xabcdef",
    "enqueueTaskId": "task_abc123",
    "dispatchTaskId": "task_def456",
    "readyAt": "2025-02-07T12:34:56Z",
    "operationType": "CALL",
    "userId": "user_123",
    "status": "QUEUING",
    "createdAt": "2025-02-07T12:34:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successfully submitted the add owner request.

The response is of type object.