This article applies to customers who have the legacy version of Scaleo.
Please visit our new API Guide.
Create the new Offer
URL
http://[platform_URL]/api/manager/create-offer
Input Parameters
Field Name | Required | Description |
---|---|---|
api-key | Yes | Ask your Admin for API activation. API Key could be found on your Profile page. |
POST parameters | ||
name | Yes | Offer's title |
advertiser_id | Yes | The advertiser's ID |
status_id | Yes | Offer's status ID 1=Testing, 3=Live, 4=Inactive |
redirect_url | Yes | Offer's Landing Page URL |
goal_name | Yes | The default goal's title |
type | Yes | Default Goal's type 1=CPC, 2=CPA, 3=CPL, 4=CPS, 5=CPI |
bounty | No | The value for the payout from Advertiser |
payout_basic | No | The value of the basic affiliate's payout |
payout_premium | No | The value of the premium affiliate's payout |
notes | No | Offer's notes |
Sample
Request
http://demo.scaleo-up.com/api/manager/create-offer?api-key=699f482aefec6e61e82f8ab785d36deeed7dfbe9
Send with POST:
name=Make me rich!
advertiser_id=3
status_id=3
redirect_url=https://www.youtube.com/?oid={offer_id}
goal_name=CPA
type=1
Response
{
"status": "success",
"code": 200,
"offer_id": 13
}