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:

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

Last updated