Skip to content

GET /api/v1/votes/claim is removed on October 1, 2026.

See the migration

FiveM plugin

Official resource, cgshubs:onPlayerVote event, API companion.

An official FiveM resource receives votes in real time.

  1. The player votes on the page (in-game name).

  2. CGS Hub POSTs the webhook.

  3. The plugin verifies the signature and emits cgshubs:onPlayerVote(playername, votedAt).

  4. Your resource grants the reward.

You can also use only check / claim. The token goes in Authorization, never in the URL.

The resource is available from the owner console or the integration guide provided with the token.