Get all attendees

The "Get All Attendees" API allows users to retrieve detailed information about all attendees created within a specific event in their Zoho Backstage portal. Users must provide the portal_id and event_id to access this information, which uniquely identifies the portal and the event.

 

Header

Authorization: Zoho-OAuth token d92d4xxxxxxxxxxxxx15f52

 

OAuth Scope

zohobackstage.attendee.READ

 

Path Parameters

  • portal_id (Long Integer)
    The unique identifier of the portal from which you want to retrieve attendees.
    For example, "portal_id": "19593237" specifies the portal with ID 19593237.
  • event_id (Long Integer)
    The unique identifier of the event for which you want to retrieve attendee details. For example, "event_id": "3000000000022" specifies the event with ID 3000000000022.

 

Query Parameters

  • ticket_id (Integer)
    Filters attendees by ticket. For example, "ticket_id": "12345678" filters attendees associated with the specified ticket ID.

 

Response Structure and Field Explanations

The response provides a JSON object containing an array of attendee objects along with pagination details. Below are the fields included in the response, along with explanations:

  • pagination (Object)
    Contains information about the pagination of results.
    • total_count (Integer)
      The total count of items. For example, "total_count": 5 indicates there are five items in total.
    • page (Integer)
      The current page number. For example, "page": 1 specifies that this is the first page.
    • per_page (Integer)
      The number of items per page. For example, "per_page": 100 means that 100 items are displayed per page.
    • total_pages (Integer)
      The total number of pages. For example, "total_pages": 1 specifies that there is only one page.
    • has_more_items (Boolean)
      Indicates if there are more items available. For example, "has_more_items": false means there are no additional items.
  • attendees (Array of Objects)
    This array contains objects, each representing an event attendee.
    • id (Long Integer)
      The unique identifier for the attendee. For example, "id": "25000000121431" identifies the attendee with ID 25000000121431.
    • portal (Long Integer)
      The unique identifier for the portal. For example, "portal": "20942323" specifies the portal with ID 20942323.
    • event_id (Long Integer)
      The unique identifier for the event. For example, "event_id": "25000000016003" specifies the event with ID 25000000016003.
    • order_id (Long Integer)
      The unique identifier for the order associated with the attendee. For example, "order_id": "25000000121424" identifies the order with ID 25000000121424.
    • ticket_id (Long Integer)
      The unique identifier for the ticket. For example, "ticket_id": "250000001214242" specifies the ticket with ID 250000001214242.
    • ticket_class_id (Long Integer)
      The unique identifier for the ticket class. For example, "ticket_class_id": "27000000011376" identifies the ticket class with ID 27000000011376.
    • ticket_name (String)
      The name of the ticket. For example, "ticket_name": "Free" indicates the ticket name is "Free."
    • purchased_by (String)
      The email address of the purchaser. For example, "purchased_by": "sam@zoho.com" specifies the purchaser's email as sam@zoho.com.
    • status (Integer)
      The status of the attendee. For example, "status": 1 indicates that the attendee is attending. Possible values include:
      • 0 - Not Attending
      • 1 - Attending
    • status_string (String)
      A textual representation of the attendee's status. For example, "status_string": "attending" indicates that the attendee is attending.
    • affiliate_name (String)
      The name of the affiliate. For example, "affiliate_name": "Affiliate X" specifies the affiliate name as Affiliate X.
    • promo_code (String)
      The promo code used by the attendee. For example, "promo_code": "PROMO123" indicates the promo code is PROMO123.
    • contact (Object)
      Contains details of the contact.
      • first_name (String)
        The first name of the contact. For example, "first_name": "sam" identifies the contact's first name as Sam.
      • last_name (String)  
        The last name of the contact. For example, "last_name": "peter" identifies the contact's last name as Peter.
      • email (String)
        The email address of the contact. For example, "email": "sam@zoho.com" specifies the contact's email as sam@zoho.com.
      • mobile_no (String)  
        The mobile number of the contact. For example, "mobile_no": "9876543210" provides the contact's phone number.
    • created_time (String)
      The timestamp of attendee creation in UTC format. For example, "created_time": "2024-04-18T12:10:53Z" specifies the date and time when the attendee was created.
    • last_modified_time (String)
      The timestamp of the last modification of the attendee in UTC format. For example, "last_modified_time": "2024-04-18T12:10:53Z" specifies the date and time of the last modification.

URL

Copied/v3/portals/{portal_id}/events/{event_id}/attendees

Example

Copiedhttps://zohoapis.com/backstage/v3/portals/19593237/events/3000000000022/attendees

Sample Response

Copied{
  "pagination": {
    "total_count": 5,
    "page": 1,
    "per_page": 100,
    "total_pages": 1,
    "has_more_items": false
  },
  "attendees": [
    {
      "id": 25000000121431,
      "portal": 20942323,
      "event_id": 25000000016003,
      "order_id": 25000000121424,
      "ticket_id": 250000001214242,
      "ticket_class_id": 27000000011376,
      "ticket_name": "Free",
      "purchased_by": "sam@zoho.com",
      "status": 1,
      "status_string": "attending",
      "affiliate_name": "Affiliate X",
      "promo_code": "PROMO123",
      "contact": {
        "first_name": "Sam",
        "last_name": "Peter",
        "email": "sam@zoho.com",
        "mobile_no": "9876543210"
      },
      "created_time": "2024-04-18T12:10:53Z",
      "last_modified_time": "2024-04-18T12:10:53Z"
    },
    {
      "id": 25000000121430,
      "portal": 20942323,
      "event_id": 25000000016003,
      "order_id": 25000000121424,
      "ticket_id": 250000001214241,
      "ticket_class_id": 27000000011376,
      "ticket_name": "Free",
      "purchased_by": "sam@zoho.com",
      "status": 1,
      "status_string": "attending",
      "affiliate_name": null,
      "promo_code": null,
      "contact": {
        "first_name": "Sam",
        "last_name": "Peter",
        "email": "sam@zoho.com",
        "mobile_no": "9876543210"
      },
      "created_time": "2024-04-18T12:10:53Z",
      "last_modified_time": "2024-04-18T12:10:53Z"
    }
  ]
}