๐Ÿ’พ logs

logs are objects representing a webhook that was sent from sharpsports to a subscribed endpoint

      "id": 49944914,
      "requestId": "73cea1a9-c636-4936-8b61-649b505a2f90",
      "event": "refreshresponse.created",
      "url": "https://abc.com",
      "status": 200,
      "timeCreated": "2023-09-19T21:14:56.442724Z",
      "eventObject": "RRES_4130d35478f946d88773e7766b8d32f9"


๐Ÿ“œ logs list

id (string)

A unique identifier representing the log.

requestId (string)

Represents the id of the api the api request that resulted in the webhook being sent.

event (string)

The name of the Event associated with the webhook log.

url (string)

The subscribed url where the webhook was sent.

status (int)

The status code returned by the webhook listener.

timeCreated (string)

The timestamp the webhook was sent.

eventObject (string)

The id of the relevant object associated with the webhook. Each event follows the format "object"."action" and this id will always represent the "object" of the event.