JustGiving API

Uri /{appId}/v1/event/{eventId}
Verb GET
Auth No

Retrieves an event.

Http

To request: https://api.justgiving.com/{appId}/v1/event/{eventId}
Perform the following HTTP request:

GET /{appId}/v1/event/{eventId} HTTP/1.1
Host: api.justgiving.com
Content-type: application/json

Url Parameters

eventId (Integer (32bit))
JustGiving event Id

HTTP Status Codes

  • 200 OK - OK

Response Examples

1
2
3
4
5
6
7
8
9
10
{
  "name": "Playing Mario for 48 hours for charity",
  "description": "Playing Mario for charity",
  "id": 12356,
  "completionDate": "\/Date(1781381895396+0000)\/",
  "expiryDate": "\/Date(1781381895396+0000)\/",
  "startDate": "\/Date(1750018695396+0000)\/",
  "eventType": "OtherCelebration",
  "location": "My Living room"
}
name (String)
description (String)
id (Integer (32bit))
JustGiving EventId, ignored during requests to the RegisterEvent API.
completionDate (DateTime)
The date the event finishes
expiryDate (DateTime)
The date the event expires and will subsequently become unavailable on the site
startDate (DateTime)
The event start date
eventType (String)
Event names will be shown on fundraising pages for an event type of: Running_Marathons Treks, Walks, Cycling, Swimming, Triathlons, Parachuting_Skydives, OtherSportingEvents. Other event types will be correctly linked, but not visually represented on the page.
location (String)
errorMessage (String)