View as Markdown

API reference / Native /v1

Webhooks and events

Native /v1. Generated from the OpenAPI document the services export (/openapi.json).

Samples use the placeholders YOUR_API_KEY and YOUR_ACCOUNT_ID. Paste a sandbox key (twsk_…) to fill them in and to use Try it. It stays in this browser tab and is only sent to the sandbox, never to the live API.

Try it is off in this build: No sandbox URL is configured for this build of the docs.

POST /v1/events/{event_id}/resend

Resend Event Idempotency-Key Auth: X-API-Key

Queue an event again to every endpoint that received it (or webhookId).

Parameters of POST /v1/events/{event_id}/resend
ParameterInTypeDescription
event_id requiredpathstring
webhookIdquerystring | null
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/events/EVENT_ID/resend' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/events/EVENT_ID/resend",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/events/EVENT_ID/resend", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhook-event-types

Event Types Auth: X-API-Key

Every webhook event type, with a description, its source and an example envelope.

Responses

  • 200 Successful Response

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhook-event-types' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhook-event-types",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhook-event-types");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhook-events/trigger

Trigger Idempotency-Key Auth: X-API-Key

Publish one test event of a catalog type (any type in the sandbox; live: webhook.test).

Parameters of POST /v1/webhook-events/trigger
ParameterInTypeDescription
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Request body TriggerBody required

Request body fields of POST /v1/webhook-events/trigger
FieldTypeDescription
type requiredstring
accountIdstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhook-events/trigger' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this' \
  -H 'Content-Type: application/json' \
  -d '{"type":"string"}'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhook-events/trigger",
        json={"type": "string"},
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhook-events/trigger", {
  body: {"type":"string"},
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhook-listeners

Create Listener Auth: X-API-Key

Start a local-forwarding listener: its signing secret and the current cursor.

Parameters of POST /v1/webhook-listeners
ParameterInTypeDescription
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhook-listeners' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhook-listeners",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhook-listeners", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhook-listeners/{listener_id}/events

Listener Events Auth: X-API-Key

The tenant's events after the after cursor, each signed with the listener secret.

Parameters of GET /v1/webhook-listeners/{listener_id}/events
ParameterInTypeDescription
listener_id requiredpathstring
afterquerystring
typesquerystring[] | null
limitqueryinteger

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhook-listeners/LISTENER_ID/events' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhook-listeners/LISTENER_ID/events",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhook-listeners/LISTENER_ID/events");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhooks

List Webhooks Auth: X-API-Key

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhooks' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhooks",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhooks");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks

Create Webhook Auth: X-API-Key

Request body CreateWebhook required

Request body fields of POST /v1/webhooks
FieldTypeDescription
url requiredstring
secretstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com/hook"}'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks",
        json={"url": "https://example.com/hook"},
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks", {
  body: {"url":"https://example.com/hook"},
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhooks/{webhook_id}

Get Webhook Auth: X-API-Key

Parameters of GET /v1/webhooks/{webhook_id}
ParameterInTypeDescription
webhook_id requiredpathstring

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhooks/WEBHOOK_ID",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhooks/WEBHOOK_ID");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

PATCH /v1/webhooks/{webhook_id}

Patch Endpoint Idempotency-Key Auth: X-API-Key

Change the event filter (enabledEvents), URL or description.

Parameters of PATCH /v1/webhooks/{webhook_id}
ParameterInTypeDescription
webhook_id requiredpathstring
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Request body PatchEndpoint required

Request body fields of PATCH /v1/webhooks/{webhook_id}
FieldTypeDescription
enabledEventsstring[] | null
urlstring | null
descriptionstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X PATCH 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this' \
  -H 'Content-Type: application/json' \
  -d '{}'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "PATCH",
        "/v1/webhooks/WEBHOOK_ID",
        json={},
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("PATCH", "/v1/webhooks/WEBHOOK_ID", {
  body: {},
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

DELETE /v1/webhooks/{webhook_id}

Delete Webhook Auth: X-API-Key

Parameters of DELETE /v1/webhooks/{webhook_id}
ParameterInTypeDescription
webhook_id requiredpathstring

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X DELETE 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "DELETE",
        "/v1/webhooks/WEBHOOK_ID",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("DELETE", "/v1/webhooks/WEBHOOK_ID", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhooks/{webhook_id}/deliveries

List Deliveries Auth: X-API-Key

The endpoint's deliveries, newest first ({data, hasMore, nextCursor}).

Parameters of GET /v1/webhooks/{webhook_id}/deliveries
ParameterInTypeDescription
webhook_id requiredpathstring
statusquerystring | null
eventTypequerystring | null
eventIdquerystring | null
sincequerystring | null
untilquerystring | null
cursorquerystring | null
limitqueryinteger

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/deliveries' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhooks/WEBHOOK_ID/deliveries",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhooks/WEBHOOK_ID/deliveries");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhooks/{webhook_id}/deliveries/{delivery_id}

Get Delivery Auth: X-API-Key

One delivery with every attempt, the signed payload and the last response body.

Parameters of GET /v1/webhooks/{webhook_id}/deliveries/{delivery_id}
ParameterInTypeDescription
webhook_id requiredpathstring
delivery_id requiredpathstring

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks/{webhook_id}/deliveries/{delivery_id}/resend

Resend Delivery Idempotency-Key Auth: X-API-Key

Queue this delivery's event again to the endpoint. Returns the new delivery (202).

Parameters of POST /v1/webhooks/{webhook_id}/deliveries/{delivery_id}/resend
ParameterInTypeDescription
webhook_id requiredpathstring
delivery_id requiredpathstring
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/resend' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/resend",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks/WEBHOOK_ID/deliveries/DELIVERY_ID/resend", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks/{webhook_id}/disable

Disable Endpoint Idempotency-Key Auth: X-API-Key

Stop deliveries to an endpoint; unfinished deliveries are closed as failed.

Parameters of POST /v1/webhooks/{webhook_id}/disable
ParameterInTypeDescription
webhook_id requiredpathstring
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/disable' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks/WEBHOOK_ID/disable",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks/WEBHOOK_ID/disable", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks/{webhook_id}/enable

Enable Endpoint Idempotency-Key Auth: X-API-Key

Re-enable an endpoint (after an automatic disable, or your own).

Parameters of POST /v1/webhooks/{webhook_id}/enable
ParameterInTypeDescription
webhook_id requiredpathstring
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/enable' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks/WEBHOOK_ID/enable",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks/WEBHOOK_ID/enable", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks/{webhook_id}/reveal-secret

Reveal Secret Auth: X-API-Key

The current signing secret (and the previous one during a rotation overlap).

Parameters of POST /v1/webhooks/{webhook_id}/reveal-secret
ParameterInTypeDescription
webhook_id requiredpathstring
X-Actorheaderstring | null
X-Reasonheaderstring | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/reveal-secret' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'X-Reason: why you are doing this'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks/WEBHOOK_ID/reveal-secret",
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks/WEBHOOK_ID/reveal-secret", {
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

POST /v1/webhooks/{webhook_id}/rotate-secret

Rotate Secret Idempotency-Key Auth: X-API-Key

New signing secret; the old one stays valid for overlapHours (default 24).

Parameters of POST /v1/webhooks/{webhook_id}/rotate-secret
ParameterInTypeDescription
webhook_id requiredpathstring
Idempotency-Keyheaderstring | null
X-Actorheaderstring | null
X-Reasonheaderstring | null

Request body RotateSecret | null

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X POST 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/rotate-secret' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Idempotency-Key: my-request-1' \
  -H 'X-Reason: why you are doing this' \
  -H 'Content-Type: application/json' \
  -d '{"overlapHours":24}'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "POST",
        "/v1/webhooks/WEBHOOK_ID/rotate-secret",
        json={"overlapHours": 24},
        idempotency_key="my-request-1",
        reason="why you are doing this",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("POST", "/v1/webhooks/WEBHOOK_ID/rotate-secret", {
  body: {"overlapHours":24},
  idempotencyKey: "my-request-1",
  reason: "why you are doing this",
});
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.

GET /v1/webhooks/{webhook_id}/settings

Endpoint Settings Auth: X-API-Key

Endpoint status, failure streak, event filter and secret-rotation state.

Parameters of GET /v1/webhooks/{webhook_id}/settings
ParameterInTypeDescription
webhook_id requiredpathstring

Responses

Errors (common for this kind of call; every error uses one envelope)

curl

curl -sS -X GET 'https://api.tickwire.io/v1/webhooks/WEBHOOK_ID/settings' \
  -H 'X-API-Key: YOUR_API_KEY'

Python

from tickwire import Tickwire

with Tickwire("https://api.tickwire.io", "YOUR_API_KEY") as tw:
    result = tw.request(
        "GET",
        "/v1/webhooks/WEBHOOK_ID/settings",
    )
    print(result)

TypeScript

import { TickwireClient } from "@tickwire/sdk";

const tw = new TickwireClient({ baseUrl: "https://api.tickwire.io", token: "YOUR_API_KEY" });
const result = await tw.request("GET", "/v1/webhooks/WEBHOOK_ID/settings");
console.log(result);
tw.close();
Try it in the sandbox

Try it is off in this build of the docs: no sandbox URL is configured. The samples above work against the sandbox with your sandbox key.