POST
/campaigntype
curl \
-X POST https://YOURSITE.infoodle.com/apiv2/campaigntype \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Sponsored Children"}'
Request examples
{
"name": "Sponsored Children"
}
Response examples (200)
{
"id": 4325342
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}