Triple API and Webhooks
User Events

Post User Events

1min
POST
https://api.tripleup.dev/partner/user-events
triple Prod

Post User Events

Recommended Best Practices

For the best user experience, post user events to the triple API as they occur. This allows triple to provide users with a more personalized user experience by responding to user preference signals in near-real time.

Payload Descriptions

event_typedescription
HIDE_OFFERUser requests to never see an offer again
LESS_LIKE_THIS_OFFERUser dislikes an offer
MORE_LIKE_THIS_OFFERUser likes an offer
OFFER_ENTERS_VIEWPORTOffer details enter the user's viewport
OFFER_EXITS_VIEWPORTOffer details exit the user's viewport
Body Parameters
body
Description
UserEvent Request schema
One Of
UserSessionOfferMoreLikeThisEvent
Responses
200
OK - User Event Request Accepted
ok
*
400
TripleBadRequestError
status_code
*
content
*
403
TripleNotAuthenticatedError
status_code
*
content
*
404
TripleInvalidPathError
status_code
*
content
*
409
TripleIntegrityError
status_code
*
content
*
415
TripleUnsupportedMediaType
status_code
*
content
*
422
TripleUnprocessableEntity
status_code
*
content
*
500
TripleInternalServerError
status_code
*
content
*
501
TripleNotImplementedError
status_code
*
content
*
503
TripleServiceUnavailable
status_code
*
content
*