✅ Team Fundraising Pages Custom Codes

❗️

This API is being retired on September 30th, 2026, and is replaced by the new Cloud API. Please see here for details on how to get started on the Cloud API.

On the Fundraising Platform, Custom Codes can be set to add a customisable value to Team Fundraising Pages. You can customise the names of the fields and assign the values either one by one or many at once.

The following table contains the fields that are returned within the response call of the team fundraising page custom codes endpoint.

KeyLabelTypeDescription
customCodeIdCustom Code IdLongCustom Code Id
pfIdFundraising Page IdLongFundraising Page Id
valueValueStringCustom Code Value
nameNameStringName of Team Fundraising Page Custom Code
createdDateCreated DateDateDate Team Fundraising Page Custom Code Created
modifyDateModify DateDateDate Team Fundraising Page Custom Code Modified

🚀 Search Team Fundraising Custom Codes

/teamFundraisingPagesCustomCodes

Returns a list of team fundraising page custom codes filterable by the attributes below.

KeyLabelTypeDescription
account_guidsAccount GuidsArray[UUID]Account GUID associated with a charity account.
date_fromDate FromStringDate from which to filter based on the created date of the team fundraising page custom code
date_toDate ToStringDate to filter to based on the created date of the team fundraising page custom code
custom_code_IdsCustom Code IdsArray[Long]Custom Code Ids associated with the team fundraising page custom code object
pf_IdPersonal Fundraising Page IdLongFundraising Page Id associated with the team fundraising page custom code object
limitLimitIntegerNumber of records to be returned in the response
pagePageIntegerThe number of pages to skip before starting to collect the result set

Sample Request

GET - http://dataapi.enthuse.com/teamFundraisingPagesCustomCodes?access_token=rR5_kQN_TVZMwqz4tyc8vzJ0ltc
&account_guids=00000000-0000-0000-0000-000000000000
&date_from=2020-02-25%2000%3A00%3A00
&date_to=2020-03-01%2000%3A00%3A00
&limit=25
&page=1

Sample Responses:

200 - OK call was successful and returned data

[ 
 {
	"customCodeId": 1234,
	"pfId": 3223,
	"value": "1",
	"name": "name",
	"createdDate": "2021-09-21 09:06:44",
	"modifyDate": "2021-09-21 09:06:44"
 },
 {
	"customCodeId": 1235,
	"pfId": 3223,
	"value": "2",
	"name": "name",
	"createdDate": "2021-09-21 09:06:44",
	"modifyDate": "2021-09-21 09:06:44"
 }
],
"totalCount": 0

401 - Access token has expired or is incorrect

{
  "message": "Unauthorized.",
  "status": 401
}

403 - Bespoke - Charity access token used alongside an account guid not associated with charity

{
  "message": "You cannot use an account guid from a separate account.",
  "status": 403
}

403 - The account linked to the token does not match the account of the records attempting to retrieve

{
  "message": "Forbidden.",
  "status": 403
}

404 - Call authenticated but no records match the searched criteria

{
  "message": "No records found.",
  "status": 404
}

500 - Error occurred within Service, data could not be returned

{
  "message": "Internal Server Error.",
  "status": 500
}