Subscribe

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Register a webhook URL, where you going to receive a payload like the example below:

{
  "event": {
    "id": "231fd985-d3a3-40b3-99a8-c363fc26aaaa",
    "title": "Yoga",
    "plan_code": "XXXXXX",
  },
  "place": {
    "place": "ac04cf8a-8643-41d5-a0c9-efee02f9aaaa",
    "name": "Bio Ritmo Paulista"
  },
  "user": {
    "name": "Cisne",
    "email": "[email protected]",
    "phone": "xxxxxxxxx",
    "document_number": "12345678900",
    "document_type": "cpf",
    "code": "ABCDEF"
  },
  "slot": {
    "id": "64c1ad93a879333d436da6e8",
    "status": "active",
    "date": "2023-07-31T00:00:00.000Z",
    "seat": {
      "externalReference": "123",
      "name": "A1",
      "identifier": "5e701467-4d80-40a4-b78a-00490a6faaaa",
      "position": "[1,1]"
    },
    "confirmation_url": "booking-api.totalpass.com/partner/slot/confirmSlot/64c1ad93a879333d436da6e8"
  }
}
Body Params

Responsible for associating the webhook URL with the logged-in gym's registration. Just send the payload as an example, and the system will associate the URL using the session information in the JWT obtained from the login endpoint.

string
required
Headers
string
required
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json