Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

View Action

POST {api-url}/viewAction?ns={community}

Use this call to fetch the true, trusted state of a transaction action by its ActionID. This is a critical step when receiving a webhook payload, allowing you to verify that the event actually occurred on the Celbux platform and to prevent spoofing.

The response returns an Action object containing all of the generated webhook payload variables for that specific event. Note that any variables not applicable to the transaction type will be returned with default zero-values (e.g., "" or 0).

FieldTypeRequirementDescription
ActionIDIntegerRequiredThe Action_ID extracted from the incoming Webhook Payload Structure.
MetadataStringOptionalAny other detail that you wish to store with this event.
{
"ActionID": 6145989311725568,
"Metadata": ""
}
Terminal window
curl -X POST '{api-url}/viewAction?ns={community}' \
-H 'Authorization: bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"ActionID":6145989311725568,"Metadata":""}'