curl --request GET \
--url https://api.travtus.com/webhook/app-portal-access/This endpoint allows users to request a short-lived URL for accessing consumer application portal.
curl --request GET \
--url https://api.travtus.com/webhook/app-portal-access/https://api.travtus.com/webhook/app-portal-access/
| Parameter | Type | Description |
|---|---|---|
| Authorization | string | Bearer token for authentication |
| Field | Type | Description |
|---|---|---|
| url | string | Short-lived URL for accessing your webhook consumer application portal |
curl --location --request GET 'https://api.travtus.com/webhook/app-portal-access/' \
--header 'Authorization: Bearer <token>'
{
"url": "https://app.svix.com/login?icon=https%3A%2F%2Ftravtus-marketing-images.s3.us-east-2.amazonaws.com%2FTravtus%2Bcircle_black.png#key=eyJhcHBJZCI6ImFwcF8yYjJUcVNCZjBNYWRJWDlpakZHVFpnenlmQk4iLCJvbmVUaW1lVG9rZW4iOiJYckxBTUhJM3RVaWRKTWNhZkdXT0E5NUhuYjNybF8tNCIsInJlZ2lvbiI6ImV1In0="
}
{
"error": {
"type": "missing_authorization",
"message": "Your request does not include an 'Authorization' header with a bearer token for your account."
}
}
{
"error": {
"type": "expired_token",
"message": "The bearer token you have provided in the 'Authorization' header has expired. Please obtain a new one."
}
}
{
"error": {
"type": "invalid_authorization",
"message": "The bearer token you have provided in the 'Authorization' header is invalid."
}
}

Helpful Tip! If your service isn’t ready, use the Svix Play button to get a temporary URL.

from svix.webhooks import Webhook
secret = "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
headers = {
"svix-id": "msg_p5jXN8AQM9LWM0D4loKWxJek",
"svix-timestamp": "1614265330",
"svix-signature": "v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE=",
}
payload = '{"test": 2432232314}'
wh = Webhook(secret)
payload = wh.verify(payload, headers)