Update an overlay's tip goal
Any subset of campaign fields. Changing them reloads the overlay’s browser source so the widget picks them up. Requires overlays:manage.
PATCH
/overlays/{overlayId}/tip-goalAuthorization
AuthorizationBearer token (tp_live_...) · headerrequiredA TipPage API key, created in Dashboard → Settings → Developer.
Path parameters
overlayIdstringrequiredThe overlay's id (`o_` + 8 hex chars).
Request body
requiredapplication/jsonenabledbooleantitlestringmax length 80
amountnumbermin 0 · max 1000000
starts_atstring<date-time> | nullCount tips from this moment. Empty/null clears it.
ends_atstring<date-time> | nullCampaign end. Empty/null clears it.
Responses
200Updated.
successboolean400Invalid amount or date.
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
401Missing or invalid API key (`missing_api_key` / `invalid_api_key`).
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
403The key lacks the required scope (`missing_scope`).
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
required_scopestring404No such resource.
errorstringrequiredHuman-readable message.
codestringMachine-readable code (e.g. `missing_scope`, `not_in_queue`).
429Rate limit exceeded - check the `RateLimit-*` headers.
errorstringRequest
curl -X PATCH "https://api.tippage.com/v1/overlays/o_1a2b3c4d/tip-goal" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"title": "New PC fund",
"amount": 500,
"starts_at": "2019-08-24T14:15:22Z",
"ends_at": "2019-08-24T14:15:22Z"
}'const response = await fetch("https://api.tippage.com/v1/overlays/o_1a2b3c4d/tip-goal", {
method: "PATCH",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"enabled": true,
"title": "New PC fund",
"amount": 500,
"starts_at": "2019-08-24T14:15:22Z",
"ends_at": "2019-08-24T14:15:22Z"
})
});import requests
response = requests.patch(
"https://api.tippage.com/v1/overlays/o_1a2b3c4d/tip-goal",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"enabled": True,
"title": "New PC fund",
"amount": 500,
"starts_at": "2019-08-24T14:15:22Z",
"ends_at": "2019-08-24T14:15:22Z"
},
)Response
{
"success": true
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string",
"required_scope": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string"
}