Add Webhook Addresses
POST/notifications/webhook/add-addresses
Add new addresses to a webhook
Request
Query Parameters
apiKey string
Example: {{publicKey}}
Header Parameters
API-SECRET string
Example: {{secretKey}}
- application/json
Body
webhookId string
addresses string[]
Responses
- 201
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
object
{}
[
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0xcc95E80DA76bd41507b99d9b977Dc3062bcf6430",
"_id": "62d3f32415a8393bd802c31b",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.413Z",
"updatedAt": "2022-07-17T11:31:48.413Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x14E138F31b38847Fd7E3462fFfae6b6F91867Fc2",
"_id": "62d3f32415a8393bd802c31c",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.413Z",
"updatedAt": "2022-07-17T11:31:48.413Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x14E138F31b38847Fd7E3462fFfae6b6F91867Fc3",
"_id": "62d3f32415a8393bd802c31e",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.414Z",
"updatedAt": "2022-07-17T11:31:48.414Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x285029e7a50F9e2d9dAa4e1BFd2e5573fa3D3DCF",
"_id": "62d3f32415a8393bd802c31f",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.414Z",
"updatedAt": "2022-07-17T11:31:48.414Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x7A3B4B45D9efFFa2629Ad07288Ee3FD0Ed161A30",
"_id": "62d3f32415a8393bd802c320",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.414Z",
"updatedAt": "2022-07-17T11:31:48.414Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x44fcF21eff7B4EEa363cc5235a4715a42B4C28FD",
"_id": "62d3f32415a8393bd802c321",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.414Z",
"updatedAt": "2022-07-17T11:31:48.414Z"
},
{
"webhookId": "62d3f2aa15a8393bd802c313",
"address": "0x245C4eDa9E358A8cE83CBEDFB2b516dc80A07534",
"_id": "62d3f32415a8393bd802c322",
"__v": 0,
"createdAt": "2022-07-17T11:31:48.415Z",
"updatedAt": "2022-07-17T11:31:48.415Z"
}
]
Loading...