Skip to main content

Add addresses to a webhook

POST 

https://api.fuse.io/api/v0/notifications/webhook/add-addresses

Associate new addresses with an existing webhook to listen for their events.

Request

Query Parameters

    apiKey stringrequired

    The public API key for authentication.

Header Parameters

    API-SECRET stringrequired

    The secret API key for authentication.

Bodyrequired

    webhookId string
    addresses string[]

Responses

Addresses successfully added to the webhook.
Schema
  • Array [
  • webhookId string
    addresses string[]
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.fuse.io/api/v0/notifications/webhook/add-addresses");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"webhookId\": \"string\",\n \"addresses\": [\n \"string\"\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.fuse.io/api/v0/notifications
Parameters
— queryrequired
— headerrequired
Body required
{
  "webhookId": "string",
  "addresses": [
    "string"
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?