Plugin API
HomeGitHub
  • Welcome
  • Rate Limits
  • Authentication
  • Error Handling
  • Official Plugins
  • RPC
  • Endpoints
    • Information
    • Command Queue
    • Listing
    • Packages
    • Community Goals
    • Payments
    • Checkout
    • Gift Cards
    • Coupons
    • Bans
    • Sales
    • Player Lookup
    • Customer Purchases
Powered by GitBook
On this page
  • Get all community goals
  • Retrieve a community goal

Was this helpful?

  1. Endpoints

Community Goals

Get all community goals

GET https://plugin.tebex.io/community_goals

Retrieve all community goals created on your account.

Headers

Name
Type
Description

X-Tebex-Secret

string

The secret key of a server.

[
   {
       "id": 4,
       "created_at": "2019-03-13 13:11:57",
       "updated_at": "2019-04-09 10:59:26",
       "account": 55,
       "name": "Demo Community Goal",
       "description": "<p>Demo Community Goal</p>",
       "image": "",
       "target": "100.00",
       "current": "72.00",
       "repeatable": 0,
       "last_achieved": null,
       "times_achieved": 0,
       "status": "active",
       "sale": 0
   }
]

Retrieve a community goal

GET https://plugin.tebex.io/community_goals/{community_goal}

Retrieve an individual community goal on your account

Path Parameters

Name
Type
Description

community_goal

number

The ID of a community goal.

Headers

Name
Type
Description

X-Tebex-Secret

string

The secret key of a server.

 {
       "id": 4,
       "created_at": "2019-03-13 13:11:57",
       "updated_at": "2019-04-09 10:59:26",
       "account": 55,
       "name": "Demo Community Goal",
       "description": "<p>Demo Community Goal</p>",
       "image": "",
       "target": "100.00",
       "current": "72.00",
       "repeatable": 0,
       "last_achieved": null,
       "times_achieved": 0,
       "status": "active",
       "sale": 0
   }
PreviousPackagesNextPayments

Last updated 6 months ago

Was this helpful?