Community Goals

get
Get all community goals

https://plugin.tebex.io/community_goals
Retrieve all community goals created on your account.
Request
Response
Headers
X-Tebex-Secret
required
string
The secret key of a server.
200: OK
[
{
"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
}
]

get
Retrieve a community goal

https://plugin.tebex.io/community_goals/{community_goal}
Retrieve an individual community goal on your account
Request
Response
Path Parameters
community_goal
required
number
The ID of a community goal.
Headers
X-Tebex-Secret
required
string
The secret key of a server.
200: OK
{
"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
}