Skip to main content
POST
/
v1
/
public
/
topic-votes.info
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-votes.info' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "data": {
    "count": 156,
    "isSubscriberVoted": true
  }
}

Authentication

# Optional subscriber authentication to check vote status
Authorization: Bearer YOUR_API_KEY
# Or:
Authorization: Bearer SUBSCRIBER_JWT_TOKEN

Request Body

id
string
required
Topic ID (UUID)

Response

data
object
Vote information
curl --location --request POST 'https://api.yourapp.com/v1/public/topic-votes.info' \
--header 'Authorization: Bearer SUBSCRIBER_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": "topic-uuid-123"
}'
{
  "data": {
    "count": 156,
    "isSubscriberVoted": true
  }
}

Notes

  • Returns isSubscriberVoted: false if not authenticated
  • Real-time vote count