Events

Show event with provided ID

Changed on

Returns the event that matches the given ID.

get/api/v2/events/{id}

Request

  • Base URL
    https://yournation.nationbuilder.com
  • Auth
    HTTP bearer

Response

The requested event.

metaobject

Non-standard information about the document. Empty unless the endpoint has metadata to convey.

Example response

{
  "data": {
    "id": "1",
    "type": "events",
    "attributes": {
      "additional_rsvps_count": 20,
      "attending_count": 100,
      "auto_response_broadcaster_id": "1",
      "auto_response_content": "Content of autoresponse",
      "auto_response_subject": "Subject of autoresponse",
      "capacity_count": 200,
      "contact_email": "jdoe@work.com",
      "contact_name": "John Doe",
      "contact_phone_number": "5555555555",
      "content": "Event description",
      "donation_tracking_code_id": "1",
      "duration": 3600,
      "event_form_address": "required",
      "event_form_phone": "required",
      "point_person_id": "1",
      "start_at": "2019-10-26T10:00:00-04:00",
      "time_zone": "Eastern Time (US & Canada)",
      "user_ticket_currency": "USD",
      "user_ticket_price_in_cents": 400,
      "user_ticket_purchase_url": "https://www.example.com",
      "venue_name": "Event Center",
      "page_id": "1"
    }
  },
  "included": [
    {
      "id": "1"
    }
  ]
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added the new optional query request parameter extra_fields[events] to all path's operations

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.api+json for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      added the new America/Adak enum value to the ////// response property for the response status

    • warning

      added the new Antarctica/Troll enum value to the ////// response property for the response status

    • warning

      added the new Australia/Eucla enum value to the ////// response property for the response status

    • warning

      added the new Australia/Lord_Howe enum value to the ////// response property for the response status

    • warning

      added the new Canada/Yukon enum value to the ////// response property for the response status

    • warning

      added the new Pacific/Gambier enum value to the ////// response property for the response status

    • warning

      added the new Pacific/Kiritimati enum value to the ////// response property for the response status

    • warning

      added the new Pacific/Marquesas enum value to the ////// response property for the response status

    • warning

      added the new Pacific/Pitcairn enum value to the ////// response property for the response status