Optional
authIndicates whether OAuth credentials should be generated and appended to the request.
Optional
formThe form URL encoded body to send with the API call.
Optional
jsonThe JSON body to send with the API call.
Optional
methodThe HTTP method to use for the API call.
Optional
queryThe query parameters to include with the API call.
Optional
scopeThe OAuth scope required for this request.
Optional
typeThe type of API call to make: api
, auth
, or custom
.
api
: The request will use the https://www.donationalerts.com/api/v1
base URL, combining it with the url
.auth
: The request will use the https://www.donationalerts.com/oauth
base URL, combining it with the url
.custom
: The request will not modify or override the url
property. The url
must be a fully formed valid URL.The URL or endpoint for the API call.
type
is set to api
or auth
, this property should specify only the endpoint portion
(e.g., alerts/donations
for api
or oauth/token
for auth
), excluding the base URL.type
is set to custom
, a full and valid URL must be provided (e.g. https://example.com/my-endpoint
).
Options for configuring a single Donation Alerts API call.