Skip to main content
POST
/
roll-events
Track Roll Event
curl --request POST \
  --url https://forgegames.org/api/roll-events \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "itemId": "<string>",
  "templateId": "<string>",
  "metadata": {}
}
'
{
  "id": "<string>",
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
itemId
string
required
templateId
string
metadata
object

Response

Successful response

id
string
required
timestamp
string
required