Ticbolt API Integration
  • Introduction
  • ✨GET STARTED
    • Create Account
    • Create API project
    • Access control
  • 🎯API ENDPOINTS
    • POST - createEvent
    • GET - eventInfo
    • POST - buyTickets
    • GET - userPortfolio
    • POST - userSignedMessage
  • 🧳Webhooks
    • Webhook - createEventStatus
    • Webhook - buyTicketStatus
Powered by GitBook
On this page
  1. Webhooks

Webhook - createEventStatus

This webhook is designed to notify the external server on the status of the createEvent API request.

Http method

POST

URL endpoint

https://[externalEnpointUrl]/createEventStatus

Request header

API token - The token can be easily copied from the partner dashboard at the time of project creation.

Payload structure

Json object with the details of the event to be created.

Structure for a successfully created event:

{
    "status": "success",
    "externalEventId":"event123",
    "transactionHash": "0xTransactionHash...",
    "contractAddress": "0x12345abcdef..."
}

contractAddress :The contract for the event created at block chain. This address can be used to check activities at the Polygon block chain.

Structure for a successfully created event:

{
    "status": "fail",
    "externalEventId":"event123",
    "transactionHash": "0xTransactionHash...",
    "contractAddress": "0xTransactionHash..."
}

NOTE : If the request fails to create an event at the bloxk chain, the contractAddress field will be empty.

PreviousPOST - userSignedMessageNextWebhook - buyTicketStatus

Last updated 1 year ago

🧳