Hookshot
  • Introduction
  • Basics
    • What are Webhooks?
  • Getting Started
    • Installation
    • Hosted Management Pages
    • Embeddable Management Components
  • Miscellaneous
    • Demo Application
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Hosted Management Pages

Hosted Management Pages are temporary pages which you can create to allow your customer to add new endpoints, debug delivery failures, and inspect/replay past webhooks deliveries.

Hosted Management Pages are the easiest way to get started with Hookshot.

Creating a Management Session

A management session can be created with our Hookshot Client, or through the API.

Note that when creating a Management Session URL, it is highly recommended to redirect the user to the session directly. Do not email, text, or deliver in another way the session URL to the user, as the session URL can be utilized as a credential.

Python:

import hookshot

hookshothq.api_key = os.getenv("HOOKSHOT_API_TOKEN")

# Create a Management Session

management_session = hookshot.ManagementSession.create(
    realm=current_context.user_id,
)

# Redirect the User to `management_session.get("url")`
PreviousInstallationNextEmbeddable Management Components

Last updated 4 years ago

Was this helpful?