Triggers

Check whether a trigger exists for an (org, event_name, livemode) tuple

Pre-publish guard for internal service callers. Returns {"exists":true/false}. The superuser secret key must be supplied via Basic auth.

get/v1/workflows/triggers/exists

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v1/workflows/triggers/exists
  • Auth
    HTTP basic

Query parameters

livemodeboolean required

Livemode flag

organization_idstring required

Organization ID

event_namestring required

Event name to check

Response

OK

existsboolean

Example response

{
  "exists": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.