Logo
Profit.co's Public API Documentation

getById Goal

POST https://api.profit.co/app/goals?a=getById&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>

 

Body PARAM

Key Datatype Required Description 
a
string action type
apiKey
string Required: API key of your Profit.co Account
accessKey
string Required: Access key of your Profit.co Account

Curl
curl -X POST 'https://api.profit.co/app/goals?a=getById&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>?a=getById&apiKey=<API_KEY>&accessKey=<ACCESS_KEY>' -F '{"name"=>"goalId", "value"=>"<GOAL_ID>", "datatype"=>"string"}='

ENDPOINTS