Create Goal
POST
https://api.baremetrics.com/v1/goalsBody
application/jsonmetricstring requiredstart_amountinteger · int32 requiredIn cents
end_amountinteger · int32 requiredIn cents
start_datestring · date requiredend_datestring · date requirednamestring requiredThe goal name
Responses
200OK
{
"goal": {
"id": "our_unique_id",
"metric": "mrr",
"end_amount": 2000,
"start_amount": 1000,
"end_date": "2016-06-30",
"start_date": "2016-01-02",
"name": "Goal 1"
}
}400Bad Request
{}