Hookshot
Search…
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:
1
import hookshot
2
3
hookshothq.api_key = os.getenv("HOOKSHOT_API_TOKEN")
4
5
# Create a Management Session
6
7
management_session = hookshot.ManagementSession.create(
8
realm=current_context.user_id,
9
)
10
11
# Redirect the User to `management_session.get("url")`
Copied!
Last modified 8mo ago