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
   }

Last updated