API from server

This API is used to Post Events from your server directly to Conscent.ai This is the recommended way of Posting an Event.

Authorization :

POST https://api.Conscent.club/reward/{partner_id}/api/user_event

Header: {API Key}

Path Parameters

Name
Type
Description

partner_id*

String

Unique Identifier for the Partner

Request Body

Name
Type
Description

RAW_BODY*

Object

Provide an Event Object

curl --request POST \
     --url https://api.Conscent.club/reward/partner_id/api/user_event \
     --header 'X-API-KEY: {API Key}' \
     --header 'accept: text/plain' \
     --header 'content-type: application/json' \
     --data '
{
  "eventType": "ORDER_PLACED",
  "userId": "42bede01c83fa3947"
}
'

Last updated