GET
/
api
/
webhooks
/
{webhookEventType}
/
example-payload
curl --request GET \
  --url https://app.onlyfansapi.com/api/webhooks/{webhookEventType}/example-payload \
  --header 'Authorization: Bearer <token>'
{
  "error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

Path Parameters

webhookEventType
string
required

Response

401 - application/json

The response is of type object.

GET
/
api
/
webhooks
/
{webhookEventType}
/
example-payload
curl --request GET \
  --url https://app.onlyfansapi.com/api/webhooks/{webhookEventType}/example-payload \
  --header 'Authorization: Bearer <token>'
{
  "error": "Unauthorized. Go to https://app.onlyfansapi.com/api-keys to get your API key."
}

Authorizations

Authorization
string
header
required

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

Path Parameters

webhookEventType
string
required

Response

401 - application/json

The response is of type object.