NexusPush EventsCreate Webhook Endpoint

Nexus Integrations / Push Events

Create Webhook Endpoint

Tell Nexus where to send the events your integration needs.

1. Endpoint

POSThttps://api.gpirblx.com/api/v1/stores/{Store-Id}/webhooks

Creates an HTTPS webhook endpoint and returns its signing secret. Save the secret immediately.

AuthenticationStore member session
AccessOwner, administrator or manager session

2. Parameters

NameLocationRequiredDescription
storeIdPathYesThe store where the webhook belongs.
nameBodyYesA human-readable name, up to 80 characters.
urlBodyYesThe public HTTPS URL that receives events.
eventsBodyYesOne or more supported event names.

3. Request

When sending JSON, include the following request body:

{
  "name": "My store listener",
  "url": "https://example.com/nexus/webhook",
  "events": ["order.completed", "entitlement.created"]
}

Example request:

curl -X POST "https://api.gpirblx.com/api/v1/stores/STORE_ID/webhooks" \
  -H "Content-Type: application/json" \
  -d '{"name":"My store listener","url":"https://example.com/nexus/webhook","events":["order.completed"]}'

4. Response

Successful response:

{
  "success": true,
  "data": {
    "id": "webhook_id",
    "name": "My store listener",
    "url": "https://example.com/nexus/webhook",
    "events": ["order.completed"],
    "secret": "whsec_your_secret",
    "active": true
  }
}