NAV Navbar
Logo
php

Introduction

Welcome to the Eventbuizz API! You can use our API to access Eventbuizz API endpoints.

We have language bindings in Shell, PHP, and Javascript! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right.

Authentication

Eventbuizz uses API keys to allow access to the API. You can register a new Eventbuizz API key at our developer portal.

Eventbuizz expects for the API key to be included in all API requests to the server in a header that looks like the following:

Authorization: API_KEY

Events

Get all events

<?php 

$query = http_build_query([
    "from_date" => "",
    "to_date" => "",
    "updated_since" => ""
]);

$api_endpoint = 'https://my.eventbuizz.com/api/events?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;


$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);

The above command returns JSON structured like this:

[{
    "event_id": 3933,
        "organizer_name": "Organizer 22 name",
        "name": "Event 22-updated",
        "url": "https://my.eventbuizz.com/event/event-22-updated/detail",
        "logo": "https://my.eventbuizz.com/_admin_assets/images/eventbuizz_logo.png",
        "location": "Event location address Location name",
        "description": null,
        "start_date": "2018-02-01",
        "end_date": "2018-02-15",
        "start_time": "08:00:00",
        "end_time": "17:00:00",
        "created_date": "2018-01-23 13:19:20",
        "updated_date": "2018-02-08 14:08:29",
        "deleted": "no",
        "language_code": "fi",
        "event_calendar": 1
}]

This API retrieves all active events. If date parameters are provided it will fetch event updated in the provided date range otherwise it will return all the active events. If you provide updated_since parameter the API will return all the events updated after this date.

HTTP Request

GET http://my.eventbuizz.com/api/events

Query Parameters

Parameter Default Description
from_date blank If set to valid date, the result will include events updated form this date.
to_date blank If set to valid date, the result will include events updated till this date.
updated_since blank If set to valid date, the result will include events updated onward this date.
include_expired 0 If 1 given then API will also return expired events

Get event groups

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/eventGroups?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;


$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);


The above command returns JSON structured like this:

[{
    "group_name": "Group 1",
    "created_date": "2018-01-23 13:32:45",
    "childern": [{
        "group_name": "Sub Group 1",
        "created_date": "2018-01-23 13:32:53",
        "attendees": [{
            "first_name": "Attendee",
            "last_name": "2",
            "email": "attendee2@mail.com"
        }]
    }]
}, {
    "group_name": "Group 2",
    "created_date": "2018-01-23 13:35:03",
    "childern": [{
        "group_name": "Sub Group 2",
        "created_date": "2018-01-23 13:35:51"
    }, {
        "group_name": "Sub Group 21",
        "created_date": "2018-01-23 13:36:05",
        "attendees": [{
            "first_name": "Attendee",
            "last_name": "1",
            "email": "Attendee1@mail.com"
        }, {
            "first_name": "Attendee",
            "last_name": "2",
            "email": "attendee2@mail.com"
        }]
    }]
}]

This API retrieves all groups for given event. It fetches all the main groups and sub groups/children. Additionally this API returns attendee information (first_name, last_name and email) assigned to each sub groups.

HTTP Request

GET https://my.eventbuizz.com/api/eventGroups

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.

Attendees

Get all attendees

<?php 

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => '',
 'page' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);


The above command returns JSON structured like this:

{
    "total_attendee": 1,
    "per_page": 50,
    "from_attendee": 1,
    "to_attendee": 1,
    "total_page": 1,
    "current_page": 1,
    "last_page": 1,
    "data": [
        {
            "Attendee_ID": 201101,
            "initial": "",
            "first_name": "Waleed",
            "last_name": "last_name",
            "email": "waleo_ahed@redsignal.biz",
            "delegate_number": "",
            "table_number": "",
            "network_group": "",
            "age": "",
            "gender": "",
            "FIRST_NAME_PASSPORT": null,
            "LAST_NAME_PASSPORT": null,
            "BIRTHDAY_YEAR": null,
            "EMPLOYMENT_DATE": null,
            "image": "",
            "company_name": "KKK",
            "company_key": "K1", 
            "title": "",
            "organization": "",
            "department": "",
            "country": "Pakistan",
            "jobs": "",
            "interests": "",
            "industry": "",
            "about": "",
            "phone": "",
            "website": "",
            "facebook": "",
            "twitter": "",
            "linkedin": ""
        }
    ]
}

This API fetches all attendees. If you omit event_id it will return all the attendees of the organiser otherwise it will return assigned attendees of given event. This API returns data in pagination and page size is 50 records per page. In response API also returns total_page count that will help you to iterate to fetch all the attendees.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id blank ID for event.
page blank Page number.

Add invitees

<?php 

$query = http_build_query([
 'language_code' => ‘’,
 'event_id' => ‘’,
'attendee[0][first_name]' => '',
'attendee[0][last_name]' => '',
'attendee[0][email]' => '',
'attendee[0][phone]' => ''

]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/registrationInviteAdd?' . $query;    
$API_KEY =  'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:

[
    {
        "email": "subhan.ali@mail.com",
        "message": "Register invite created successfully",
        "status": "1"
    }
]


This API enables you to add your invitees to your registration invite list. You can add max 50 invitees with a single API request.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/registrationInviteAdd

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
attendee[0][first_name] required First name of invited attendee.
attendee[0][last_name] blank Last name of invited attendee.
attendee[0][email] required Email of invited attendee.
attendee[0][phone] blank Phone of invited attendee.

Invitation send

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
    'invite_type' => '',
    'message_type' => ''

]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/registrationInviteSend?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);




The above command returns JSON structured like this:

{
    "message": "Registeration Invite sent successfully",
    "status": "1"
}



This API enables you to send registration invitations to your invitees. Once you have added invitees in the registration invite list you can call this API to send them invitations. With invite_type parameters you can control either to send invite or reminder using corresponding value. This API also allows you to define either to send Email, SMS or both.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/registrationInviteSend

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
invite_type required registration_invite/registration_invite_Reminder.
message_type required sms/email/both.

App invitation send

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
    'invite_type' => '',
    'message_type' => ''

]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/appInviteSend?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);





The above command returns JSON structured like this:

{
    "message": "App Invite sent successfully",
    "status": "1"
}




This endpoint enables you to send app invitations to your attendees. With invite_type parameters you can control either to send invite or reminder using corresponding value. This API also allows you to define either to send Email, SMS or both.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/appInviteSend

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
invite_type required app_invite/ app_invite_reminder.
message_type required sms/email/both.

Assign attendee

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
 'email[]'=>'', // Can use multiple email[]
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/assignAttendee?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);




The above command returns JSON structured like this:

[{
    "email": "attendee2@mail.com",
    "message": "Assigned successfully at 2018-01-24 07:51:17",
    "status": "1"
}]

This API accepts an array of attendee emails and assign them. If event_id parameter is provided it will assign to this event only. If you omit event_id this API will assign attendees to all active events of the organizer. Note: if you provide an email address which does not exist this API will return an error for such emails.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/assignAttendee

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
email[] required Attendee email to assign with event.

Un-assign/delete attendee

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
 'email[]' => '',    // Can use multiple email[]
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/unAssignAttendee?' . $query;    
$API_KEY =  'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);





The above command returns JSON structured like this:

[{
    "email": "attendee2@mail.com",
    "message": "Un assign successfully at 2018-01-24 08:00:31",
    "status": "1"
}]

This API accepts an array of attendee emails and unassign them from provided event_id. If is_delete paramater is provided with ‘yes’ this API will first unassign attendee and then delete it from the system.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/unAssignAttendee

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
email[] required Attendee email to un-assign from event.
is_delete blank yes/no

Create attendee

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
 'attendee[0][first_name]' => '',
 'attendee[0][last_name]' => '',
 'attendee[0][email]' => '',
 'attendee[0][initial]' => '',
 'attendee[0][age]' => '',
 'attendee[0][title]' => '',
 'attendee[0][department]' => '',
 'attendee[0][organization]' => '',
 'attendee[0][industry]' => ''


]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/create?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);

The above command returns JSON structured like this:

[{
    "email": "jhon.abrahim@mail.com",
    "message": "created successfully at 2018-01-24 11:40:21",
    "status": "1"
}]

This API accepts an array of attendee and create them. You can add max 50 attendees with single API request. This API first creates an attendee and then assign to provided event_id. If an attendee is already exist in the system this API will update its details.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
attendee[0][first_name] required First name for attendee.
attendee[0][last_name] blank Last name for attendee.
attendee[0][email] required Email address for attendee.
attendee[0][ss_number] blank Soical security number.
attendee[0][initial] blank Initial for attendee.
attendee[0][age] blank Age for attendee.
attendee[0][title] blank Title for attendee.
attendee[0][department] blank Department for attendee.
attendee[0][organization] blank Organization for attendee.
attendee[0][industry] blank Industry for attendee.
attendee[0][delegate_number] blank Delegate Number.
attendee[0][table_number] blank Table Number.
attendee[0][gender] blank Gender.
attendee[0][company_name] blank Company Name.
attendee[0][about] blank About.
attendee[0][phone] blank Phone.
attendee[0][website] blank Website.
attendee[0][website_protocol] blank Website protocol.
attendee[0][facebook] blank Facebook URL.
attendee[0][facebook_protocol] blank Facebook protocol.
attendee[0][twitter] blank Twitter URL.
attendee[0][twitter_protocol] blank Twitter protocol.
attendee[0][linkedin] blank Linkedin URL.
attendee[0][linkedin_protocol] blank Linkedin protocol.
attendee[0][linkedin_profile_id] blank Linkedin profile ID.
attendee[0][registration_type] blank Registration type.
attendee[0][country] blank Country.
attendee[0][jobs] blank Jobs.
attendee[0][interests] blank Interests.
attendee[0][allow_vote] blank 1/0.
attendee[0][allow_gallery] blank 1/0.
attendee[0][ask_to_apeak] blank 1/0.
attendee[0][network_group]: blank Network group.
attendee[0][billing_ref_attendee]: blank Billing ref attendee.
attendee[0][billing_password]: blank Billing password.
attendee[0][first_name_passport]: blank First name passport.
attendee[0][last_name_passport]: blank Last name passport.
attendee[0][birthday_year]: blank DATETIME e.g. 2018-01-01 01:01:01.
attendee[0][employment_date]: blank DATE e.g. 2018-01-01.
attendee[0][show_home]: blank 1/0.
attendee[0][allow_vote]: blank 1/0.

Checkin history

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
 'email[]' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/attended?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);


The above command returns JSON structured like this:

[
    {
        "attendee_id": 201101,
        "registered_date": "2018-01-25 09:19:20",
        "checkin_history": [
            {
                "checkin_date": "2018-02-12 12:20:03",
                "checkout_date": "2018-02-12 12:20:21"
            }
        ],
        "order_history": [
            {
                "order_date": "2018-02-12 09:24:32",
                "order_status": "completed"
            }
        ],
        "invitation_received_date": null
    }
]


This API returns attendee checkin history for given event_id. By default it will return checkin history of all assigned attendees but if you provide attendee email array this API will return checkin history of only those attendees. This API also provide from_date and to_date parameters to query checkin history of given time period.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/attended

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
email[] blank Email address for attendee.
from_date blank From date.
to_date blank To date.

Attendee not checked in

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => '',
 'email[]' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/not_checkIn_attendees?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[{
    "attendee_id": 201758,
    "attendee_name": "naej khn",
    "attendee_email": "naej.khn@gmail.com",
    "registered_date": "2018-01-26 07:23:34"
},
{
    "attendee_id": 201101,
    "attendee_name": "Wai K",
    "attendee_email": "wai_k@mail.biz",
    "registered_date": "2018-01-25 09:19:20"
}]



This API returns attendee not checked in for given event_id. By default it will return all assigned attendees who didnot checked in but if you provide attendee email array this API will return checkin history of only those attendees. This API also provide from_date and to_date parameters to access data of given time period.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/not_checkIn_attendees

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
email[] blank Email address for attendee.
from_date blank From date.
to_date blank To date.

Attendee types

<?php 

$query = http_build_query([
 'language_code' => '',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/event/attendee-types?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[
    {
        "id": 2360,
        "event_id": 6631,
        "languages_id": 1,
        "sort_order": 0,
        "alias": "attendee",
        "attendee_type": "Attendee",
        "is_basic": 1,
        "status": 1,
        "created_at": "2019-07-15 10:54:14",
        "updated_at": "2019-07-15 10:54:14",
        "deleted_at": null
    },
    {
        "id": 2361,
        "event_id": 6631,
        "languages_id": 1,
        "sort_order": 0,
        "alias": "sponsor",
        "attendee_type": "Sponsor",
        "is_basic": 1,
        "status": 1,
        "created_at": "2019-07-15 10:54:14",
        "updated_at": "2019-07-15 10:54:14",
        "deleted_at": null
    },
    {
        "id": 2362,
        "event_id": 6631,
        "languages_id": 1,
        "sort_order": 0,
        "alias": "exhibitor",
        "attendee_type": "Exhibitor",
        "is_basic": 1,
        "status": 1,
        "created_at": "2019-07-15 10:54:14",
        "updated_at": "2019-07-15 10:54:14",
        "deleted_at": null
    },
    {
        "id": 2363,
        "event_id": 6631,
        "languages_id": 1,
        "sort_order": 0,
        "alias": "speaker",
        "attendee_type": "Speaker",
        "is_basic": 1,
        "status": 1,
        "created_at": "2019-07-15 10:54:14",
        "updated_at": "2019-07-15 10:54:14",
        "deleted_at": null
    }
]




This API returns attendee types data of given event.

HTTP Request

GET https://my.eventbuizz.com/api/event/attendee-types

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.

Group

Add group

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'parent_id' => '',
    'group_name' => '',
    'color'   => '',
    'allow_multiple'   => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/createGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{"message":"Saved Successfully.","status":"1"}

This API creates group against particular event.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/createGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
parent_id blank Parent group ID.
group_name required Name of group.
color blank Color of group.
allow_multiple blank Multiple assignment of attendee in sub groups.

Edit group

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'group_id' => '',
    'group_name' => '',
    'color'   => '',
    'allow_multiple'   => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/editGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{"message":"Saved Successfully.","status":"1"}

This API edit group against particular event.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/editGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
group_id required Group ID.
group_name required Name of group.
color blank Color of group.
allow_multiple blank Multiple assignment of attendee in sub groups.

Delete group

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'group_id' => ''
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/deleteGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{"message":"Deleted Successfully.","status":"1"}

This API delete group against particular event.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/deleteGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
group_id required Group ID.

Delete all groups

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en'
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/deleteAllGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{"message":"All Groups deleted successfully.","status":"1"}

This API delete all groups against particular event.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/deleteAllGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.

Get all groups

<?php 

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/attendees/groupListing?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:

{
    "data": {
        "total": 2,
        "per_page": 1000,
        "current_page": 1,
        "last_page": 1,
        "from": 1,
        "to": 2,
        "data": [
            {
                "id": 9933,
                "parent_id": 0,
                "event_id": 5660,
                "color": "#3277a8",
                "sort_order": 0,
                "allow_multiple": 1,
                "status": 1,
                "created_at": "2019-02-18 09:36:26",
                "updated_at": "2019-02-18 09:36:26",
                "deleted_at": null,
                "info": {
                    "id": 10154,
                    "name": "name",
                    "value": "Group 1",
                    "end_date": "0000-00-00 00:00:00",
                    "languages_id": 1,
                    "group_id": 9933,
                    "created_at": "2019-02-18 09:36:26",
                    "updated_at": "2019-02-18 09:36:26",
                    "deleted_at": null
                },
                "children": [
                    {
                        "id": 9934,
                        "parent_id": 9933,
                        "event_id": 5660,
                        "color": "#3277a8",
                        "sort_order": 0,
                        "allow_multiple": 1,
                        "status": 1,
                        "created_at": "2019-02-18 09:36:37",
                        "updated_at": "2019-02-18 09:36:37",
                        "deleted_at": null,
                        "children_info": [
                            {
                                "id": 10155,
                                "name": "name",
                                "value": "Group 1 - sub 1",
                                "end_date": "0000-00-00 00:00:00",
                                "languages_id": 1,
                                "group_id": 9934,
                                "created_at": "2019-02-18 09:36:37",
                                "updated_at": "2019-02-18 09:36:37",
                                "deleted_at": null
                            }
                        ],
                        "assign_groups": []
                    }
                ]
            },
            {
                "id": 9935,
                "parent_id": 0,
                "event_id": 5660,
                "color": "#",
                "sort_order": 0,
                "allow_multiple": 0,
                "status": 1,
                "created_at": "2019-02-18 09:36:48",
                "updated_at": "2019-02-18 09:36:48",
                "deleted_at": null,
                "info": {
                    "id": 10156,
                    "name": "name",
                    "value": "Group 2",
                    "end_date": "0000-00-00 00:00:00",
                    "languages_id": 1,
                    "group_id": 9935,
                    "created_at": "2019-02-18 09:36:48",
                    "updated_at": "2019-02-18 09:36:48",
                    "deleted_at": null
                },
                "children": []
            }
        ]
    },
    "status": "1"
}

This API list all groups against particular event.

HTTP Request

GET https://my.eventbuizz.com/api/attendees/groupListing

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.

Get group attendees

<?php 

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => '',
 'group_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/eventGroup/attendees?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "total_attendee": 51,
    "per_page": 50,
    "from_attendee": 1,
    "to_attendee": 50,
    "total_page": 2,
    "current_page": 1,
    "last_page": 2,
    "data": [
        {
            "Attendee_ID": 513326,
            "initial": "",
            "first_name": "additional;",
            "last_name": "last",
            "email": "cadd@eventbuizz.com",
            "delegate_number": "",
            "table_number": "",
            "network_group": "",
            "age": "",
            "gender": "",
            "FIRST_NAME_PASSPORT": null,
            "LAST_NAME_PASSPORT": null,
            "BIRTHDAY_YEAR": null,
            "EMPLOYMENT_DATE": null,
            "image": "",
            "company_name": "company",
            "company_key": null,
            "title": "title",
            "organization": "",
            "department": "",
            "country": null,
            "jobs": "",
            "interests": "",
            "industry": "",
            "about": "",
            "phone": "",
            "website": "",
            "facebook": "",
            "twitter": "",
            "linkedin": "",
            "gdpr": 0,
            "attendee_type_id": 0,
            "attendee_type": ""
        }
        ,......
     ]
}

This API will return all assigned attendees in given group. This API returns data 50 records per page.

HTTP Request

GET https://my.eventbuizz.com/api/eventGroup/attendees

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
group_id required ID of group.
page optional Page number.

Assign attendee to group

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'group_id' => '',
    'email' => []
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/assignAttendeeToGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{
    "billy.boy@mail.com": {
        "message": "Attendee assigned successfully.",
        "status": "1"
    },
    "fa_ahd@remial.biz": {
        "message": "Attendee assigned successfully.",
        "status": "1"
    },
    "eee@mail.com": {
        "message": "Attendee not found.",
        "status": "0"
    },
    "arslankhan@mail.com": {
        "message": "Attendee not assigned to event.",
        "status": "0"
    },
    "free.user@mail.com": {
        "message": "Attendee assigned successfully.",
        "status": "1"
    }
}

This API assigns attendee to group against particular event. If attendee isn’t assigned to event it won’t assign to group. Maximum 50 attendees can be assigned by using email.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/assignAttendeeToGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
group_id required Group ID.
email[0] required Email of assign attendee for event.
email[1] required Email of assign attendee for event.

Un-assign attendee from group

<?php 

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'group_id' => '',
    'email' => []
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/attendees/unAssignAttendeeToGroup');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:

{
    "billy.boy@mail.com": {
        "message": "Attendee un-assigned successfully.",
        "status": "1"
    },
    "fa_ahd@remial.biz": {
        "message": "Attendee un-assigned successfully.",
        "status": "1"
    },
    "eee@mail.com": {
        "message": "Attendee not found.",
        "status": "0"
    },
    "arslankhan@mail.com": {
        "message": "Attendee not assigned to event.",
        "status": "0"
    },
    "free.user@mail.com": {
        "message": "Attendee un-assigned successfully.",
        "status": "1"
    }
}

This API un-assigns attendee to group against particular event. Maximum 50 attendees can be un-assigned by using email.

HTTP Request

POST https://my.eventbuizz.com/api/attendees/unAssignAttendeeToGroup

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g. ‘en’.
event_id required ID for event.
group_id required Group ID.
email[0] required Email of assign attendee for event.
email[1] required Email of assign attendee for event.

Orders

Get event orders


<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/orders?' . $query;    
$API_KEY = 'API_KEY';

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "total_attendee": 2,
    "per_page": 50,
    "from_attendee": 1,
    "to_attendee": 2,
    "total_page": 1,
    "current_page": 1,
    "last_page": 1,
    "data": [{
        "order_detail": {
            "order_number": 3,
            "transaction_id": "0",
            "date": "2018-06-01",
            "time": "05:26:07",
            "FIK_number": 0,
            "EAN_number": "1234567123456",
            "order_type": "invoice",
            "quantity": 1,
            "vat_amount": 0,
            "sub_total": 400,
            "grand_total": 400,
            "status": "completed",
            "payment_status": "Pending",
            "voucher_code": "",
            "cancellation_note": "",
            "attendee_id": 393292
        },
        "attendee_detail": {
            "id": 393292,
            "initial": "",
            "first_name": "Sam",
            "last_name": "Jay",
            "email": "sam.jay@mail.com",
            "delegate_number": "",
            "table_number": "",
            "network_group": "",
            "age": "",
            "gender": "",
            "FIRST_NAME_PASSPORT": null,
            "LAST_NAME_PASSPORT": null,
            "BIRTHDAY_YEAR": null,
            "EMPLOYMENT_DATE": null,
            "image": "",
            "company_name": "",
            "company_key": "",
            "title": "",
            "organization": "",
            "department": "",
            "country": "Niue",
            "jobs": "",
            "interests": "",
            "industry": "",
            "about": "",
            "phone": "",
            "website": "",
            "facebook": "",
            "twitter": "",
            "linkedin": "",
            "GDPR": 0,
            "attendee_subregistration": [],
            "attendee_addons": [{
                    "name": "item 1",
                    "price": 100,
                    "qty": 1,
                    "discount": 0,
                    "link_to": "none",
                    "link_to_name": ""
                },
                {
                    "name": "item 1",
                    "price": 100,
                    "qty": 3,
                    "discount": 0,
                    "link_to": "none",
                    "link_to_name": ""
                }
            ]
        },
        "additional_attendee": {
            "id": 393293,
            "initial": "",
            "first_name": "Mick",
            "last_name": "Leo",
            "email": "mick.leo@mail.com",
            "delegate_number": "",
            "table_number": "",
            "network_group": "",
            "age": "",
            "gender": "",
            "FIRST_NAME_PASSPORT": null,
            "LAST_NAME_PASSPORT": null,
            "BIRTHDAY_YEAR": "1970-01-01 00:00:00",
            "EMPLOYMENT_DATE": null,
            "image": "",
            "company_name": "Green Signal",
            "company_key": "",
            "title": "",
            "organization": "",
            "department": "",
            "country": null,
            "jobs": "",
            "interests": "",
            "industry": "",
            "about": "",
            "phone": "",
            "website": null,
            "facebook": null,
            "twitter": null,
            "linkedin": null,
            "GDPR": 0,
            "attendee_subregistration": []
        },
        "billing_detail": {
            "billing_contact_person_name": "cpn",
            "billing_contact_person_email": "ccc@mail.com",
            "billing_contact_person_mobile_number": "+92-1231234567",
            "billing_street": "st",
            "billing_house_number": "hn",
            "billing_post_code": "1212",
            "billing_city": "1212121"
        },
        "hotel_detail": {
            "name": null,
            "rooms": null,
            "checkin_date": "1970-01-01",
            "checkout_date": "1970-01-01",
            "days": 1,
            "price": null,
            "price_type": "Not Fixed",
            "subtotal": 0,
            "vat": null,
            "vat_price": null,
            "final_total": 0
        },
        "hotel_person_detail": []
    }]
}


This endpoint displays orders against event.

HTTP Request

GET https://my.eventbuizz.com/api/orders

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.

Partners

Get All Partners

<?php

$query = http_build_query([
 'language_code' => 'en',
]);

$api_endpoint = 'https://my.eventbuizz.com/api/partners?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);


The above command returns JSON structured like this:


{
    "data": [{
        "id": 1,
        "organizer_id": 549,
        "p_name": "Partner 1",
        "p_key": "p111",
        "created_at": "-0001-11-30 00:00:00"
    }, {
        "id": 2,
        "organizer_id": 549,
        "p_name": "Partner 2",
        "p_key": "P2",
        "created_at": "-0001-11-30 00:00:00"
    }]
}


This endpoint displays all partners.

HTTP Request

GET https://my.eventbuizz.com/api/partners

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.

Add Partners


<?php

$post = [
    'language_code' => 'en',
    'partner[0][p_name]' => '',
    'partner[0][p_key]' => ''
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/partners/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:


[{
    "message": "Added successfully."
}]



This endpoint add partners.

HTTP Request

POST https://my.eventbuizz.com/api/partners/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
Partner[0][p_name] required Name of Partner.
Partner[0][p_key] required Key of Partner.

Delete Partners

<?php

$post = [
    'language_code' => 'en',
        'key[]' => ''
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/partners/deleteByKey');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);

The above command returns JSON structured like this:


[{
    "message": "Deleted successfully."
}]




This endpoint delete partners.

HTTP Request

POST https://my.eventbuizz.com/api/partners/deleteByKey

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
Key[] required Key of Partner.

Programs

Get all programs

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’
]);

$api_endpoint = 'https://my.eventbuizz.com/api/programs/listing?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "data": {
        "total": 1,
        "per_page": 50,
        "current_page": 1,
        "last_page": 1,
        "from": 1,
        "to": 1,
        "data": [
            {
                "id": 31492,
                "event_id": 4275,
                "start_date": "2018-04-27",
                "start_time": "14:45:00",
                "link_type": "",
                "created_at": "2018-04-04 09:45:42",
                "updated_at": "2018-04-06 13:11:09",
                "deleted_at": null,
                "workshop_id": 0,
                "qa": 0,
                "ticket": 0,
                "enable_checkin": 0,
                "enable_speakerlist": 1,
                "prg_speaker": [
                    "Waleed , comma KKKK"
                ],
                "prg_workshop": [],
                "prg_tracks": [],
                "prg_detail": {
                    "topic": "P1",
                    "description": "",
                    "date": "27-04-2018",
                    "start_time": "14:45",
                    "end_time": "19:45",
                    "location": "",
                    "tickets": ""
                },
                "prg_rating": [
                    0
                ],
                "prg_rating_count": [
                    0
                ],
                "attach_attendee_count": [
                    2
                ],
                "attach_attendees": [
                    {
                        "Attendee_ID": 198xxx,
                        "email": "james@abc.com",
                        "first_name": "James",
                        "last_name": "Bond"
                    },
                    {
                        "Attendee_ID": 1xxx1,
                        "email": "michael@abc.com",
                        "first_name": "Michael",
                        "last_name": "Jackson"
                    }
                ]
            }
        ]
    },
    "status": "1"
}



This endpoint displays all programs.

HTTP Request

GET https://my.eventbuizz.com/api/programs/listing

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Add programs


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'program[0][topic]' => '',
    'program[0][date]' => '',
    'program[0][start_time]'   => '',
    'program[0][end_time]'   => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/programs/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);



The above command returns JSON structured like this:


[
    {
        "message": "Saved Successfully.",
        "status": "1"
    }
]




This endpoint add programs.

HTTP Request

POST https://my.eventbuizz.com/api/programs/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
program[0][workshop_id] optional Workshop ID.
program[0][topic] required Program topic.
program[0][description] optional Program Description.
program[0][date] required Program Date.
program[0][start_time] required Program start time.
program[0][end_time] required Program end time.
program[0][location] optional Program location.
program[0][assignTracks][] optional Program assign track.
program[0][assignTracks][] optional Program another assign track.
program[0][group_id][] optional Program group ID.
program[0][group_id][] optional Program another group ID.
program[0][speaker_id][] optional Program speaker ID.
program[0][speaker_id][] optional Program another speaker ID.
program[0][qa] optional Program QA check, 1/0.
program[0][enable_checkin] optional Program enable checkin, 1/0.
program[0][enable_speakerlist] optional Program enable speakerlist, 1/0.
program[0][ticket] optional Ticket for programs.

Edit programs


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'program[0][topic]' => '',
    'program[0][date]' => '',
    'program[0][start_time]'   => '',
    'program[0][end_time]'   => '',
    'program[0][program_id]'   => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/programs/edit');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);



The above command returns JSON structured like this:


[
    {
        "message": "Saved Successfully.",
        "status": "1"
    }
]





This endpoint edit programs.

HTTP Request

POST https://my.eventbuizz.com/api/programs/edit

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
program[0][workshop_id] optional Workshop ID.
program[0][topic] required Program topic.
program[0][description] optional Program Description.
program[0][date] required Program Date.
program[0][start_time] required Program start time.
program[0][end_time] required Program end time.
program[0][location] optional Program location.
program[0][assignTracks][] optional Program assign track.
program[0][assignTracks][] optional Program another assign track.
program[0][group_id][] optional Program group ID.
program[0][group_id][] optional Program another group ID.
program[0][speaker_id][] optional Program speaker ID.
program[0][speaker_id][] optional Program another speaker ID.
program[0][qa] optional Program QA check, 1/0.
program[0][enable_checkin] optional Program enable checkin, 1/0.
program[0][enable_speakerlist] optional Program enable speakerlist, 1/0.
program[0][ticket] optional Ticket for programs.
program[0][program_id] required Program ID.

Delete program

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'program_id'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/programs/delete');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:


[{
    "message": "Deleted successfully."
}]




This endpoint delete programs.

HTTP Request

POST https://my.eventbuizz.com/api/programs/delete

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
program_id required Program ID.

Sponsors

Get all sponsors

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’
]);

$api_endpoint = 'https://my.eventbuizz.com/api/sponsors?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);




The above command returns JSON structured like this:


{
    "data": [
        {
            "id": 4146,
            "event_id": 4275,
            "name": "Sponser 1",
            "email": "sponser1@mail.com",
            "logo": "",
            "description": "Sponsor description",
            "booth": "booth",
            "phone_number": "+92-1212122",
            "website": "http://website.com",
            "twitter": "http://twitter.com",
            "facebook": "http://facebook.com",
            "linkedin": "http://linkedin.com",
            "contact_person": [
                {
                    "attendee_id": 393292,
                    "first_name": "Sam",
                    "last_name": "Jay",
                    "email": "sam.jay@mail.com"
                }
            ],
            "categories": [
                {
                    "name": "category 1",
                    "color": "#5388ad"
                },
                {
                    "name": "sub cateegory of cat 1.",
                    "color": "#5388ad"
                }
            ]
        }
    ]
}


This endpoint displays all sponsors.

HTTP Request

GET https://my.eventbuizz.com/api/sponsors/

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Add sponsors


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'sponsor[0][name]' => '',
    'sponsor[0][email]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/sponsor/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);




The above command returns JSON structured like this:


[
    {
        "name": "First Sponsor Shell",
        "message": "created successfully at 2018-07-20 12:39:50",
        "status": "1"
    }
]





This endpoint add sponsors.

HTTP Request

POST https://my.eventbuizz.com/api/sponsor/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
sponsor[0][name] required Name.
sponsor[0][email] required Email address.
sponsor[0][booth] optional Booth.
sponsor[0][phone_number] optional Phone number.
sponsor[0][description] optional Description.
sponsor[0][website] optional Website.
sponsor[0][twitter] optional Twitter url.
sponsor[0][facebook] optional Facebook url.
sponsor[0][linkedin] optional Linkedin url.
sponsor[0][contact_person][] optional Contact person email address.
sponsor[0][contact_person][] optional Contact person another email address.
sponsor[0][category][] optional Sponsor category.

Edit sponsors


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'sponsor[0][sponsor_id]' => '',
    'sponsor[0][name]' => '',
    'sponsor[0][email]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/sponsor/update');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));



The above command returns JSON structured like this:


[
    {
        "name": "First Sponsor Shell EDITED",
        "message": "update successfully at 2018-07-20 12:54:58",
        "status": "1"
    }
]



This endpoint edit sponsors.

HTTP Request

POST https://my.eventbuizz.com/api/sponsor/update

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
sponsor[0][name] required Name.
sponsor[0][email] required Email address.
sponsor[0][booth] optional Booth.
sponsor[0][phone_number] optional Phone number.
sponsor[0][description] optional Description.
sponsor[0][website] optional Website.
sponsor[0][twitter] optional Twitter url.
sponsor[0][facebook] optional Facebook url.
sponsor[0][linkedin] optional Linkedin url.
sponsor[0][contact_person][] optional Contact person email address.
sponsor[0][contact_person][] optional Contact person another email address.
sponsor[0][category][] optional Sponsor category.
sponsor[0][sponsor_id] required Sponsor ID.

Delete sponsors

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'sponsor[delete][]'  => '',
    'sponsor[delete][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/sponsor/delete');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);




The above command returns JSON structured like this:


[
    {
        "name": "4150",
        "message": "deleted successfully at 2018-07-20 12:58:17",
        "status": "1"
    },
    {
        "name": "4151",
        "message": "deleted successfully at 2018-07-20 12:58:17",
        "status": "1"
    }
]






This endpoint delete sponsors.

HTTP Request

POST https://my.eventbuizz.com/api/sponsor/delete

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
sponsor[delete][] required Sponsor ID to delete.
sponsor[delete][] required Sponsor another ID to delete

Assign Contact person

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'sponsor_id'  => '',
    'sponsor[contact_person][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/sponsor/assign_contact_person');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);




The above command returns JSON structured like this:


[
    {
        "name": "sam.jay@mail.com",
        "message": "Assign as contact person at 2018-07-20 13:16:49",
        "status": "1"
    },
    {
        "name": "wolo.bolo@mail.com",
        "message": "Assign as contact person at 2018-07-20 13:16:49",
        "status": "1"
    }
]


This endpoint assign contact person.

HTTP Request

POST https://my.eventbuizz.com/api/sponsor/assign_contact_person

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
sponsor[contact_person][] required Contact person email address to assign.
sponsor[contact_person][] required Another contact person email address to assign.

Un assign contact person

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'sponsor_id'  => '',
    'sponsor[contact_person][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/sponsor/un_assign_contact_person');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:


[
    {
        "name": "sam.jay@mail.com",
        "message": "Un Assign as contact person at 2018-07-20 13:18:13",
        "status": "1"
    },
    {
        "name": "wolo.bolo@mail.com",
        "message": "Un Assign as contact person at 2018-07-20 13:18:13",
        "status": "1"
    }
]


This endpoint un assign contact person.

HTTP Request

POST https://my.eventbuizz.com/api/sponsor/un_assign_contact_person

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
sponsor[contact_person][] required Contact person email address to un assign.
sponsor[contact_person][] required Another contact person email address to un assign.

Exhibitors

Get all exhibitors

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’
]);

$api_endpoint = 'https://my.eventbuizz.com/api/exhibitors?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);




The above command returns JSON structured like this:


{
    "data": [
        {
            "id": 4146,
            "event_id": 4275,
            "name": "exhibitors 1",
            "email": "exhibitors@mail.com",
            "logo": "",
            "description": "exhibitors description",
            "booth": "booth",
            "phone_number": "+92-1212122",
            "website": "http://website.com",
            "twitter": "http://twitter.com",
            "facebook": "http://facebook.com",
            "linkedin": "http://linkedin.com",
            "contact_person": [
                {
                    "attendee_id": 393292,
                    "first_name": "Sam",
                    "last_name": "Jay",
                    "email": "sam.jay@mail.com"
                }
            ],
            "categories": [
                {
                    "name": "category 1",
                    "color": "#5388ad"
                },
                {
                    "name": "sub cateegory of cat 1.",
                    "color": "#5388ad"
                }
            ]
        }
    ]
}


This endpoint displays all exhibitors.

HTTP Request

GET https://my.eventbuizz.com/api/exhibitors/

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Add exhibitors


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'exhibitor[0][name]' => '',
    'exhibitor[0][email]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/exhibitor/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);




The above command returns JSON structured like this:


[
    {
        "name": "First exhibitors Shell",
        "message": "created successfully at 2018-07-20 12:39:50",
        "status": "1"
    }
]





This endpoint add exhibitors.

HTTP Request

POST https://my.eventbuizz.com/api/exhibitor/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
exhibitor[0][name] required Name.
exhibitor[0][email] required Email address.
exhibitor[0][booth] optional Booth.
exhibitor[0][phone_number] optional Phone number.
exhibitor[0][description] optional Description.
exhibitor[0][website] optional Website.
exhibitor[0][twitter] optional Twitter url.
exhibitor[0][facebook] optional Facebook url.
exhibitor[0][linkedin] optional Linkedin url.
exhibitor[0][contact_person][] optional Contact person email address.
exhibitor[0][contact_person][] optional Contact person another email address.
exhibitor[0][category][] optional Exhibitor category.

Edit exhibitors


<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'exhibitor[0][exhibitor_id]' => '',
    'exhibitor[0][name]' => '',
    'exhibitor[0][email]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/exhibitor/update');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));



The above command returns JSON structured like this:


[
    {
        "name": "First exhibitor Shell EDITED",
        "message": "update successfully at 2018-07-20 12:54:58",
        "status": "1"
    }
]



This endpoint edit exhibitors.

HTTP Request

POST https://my.eventbuizz.com/api/exhibitor/update

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
exhibitor[0][name] required Name.
exhibitor[0][email] required Email address.
exhibitor[0][booth] optional Booth.
exhibitor[0][phone_number] optional Phone number.
exhibitor[0][description] optional Description.
exhibitor[0][website] optional Website.
exhibitor[0][twitter] optional Twitter url.
exhibitor[0][facebook] optional Facebook url.
exhibitor[0][linkedin] optional Linkedin url.
exhibitor[0][contact_person][] optional Contact person email address.
exhibitor[0][contact_person][] optional Contact person another email address.
exhibitor[0][category][] optional Exhibitor category.
exhibitor[0][exhibitor_id] required Exhibitor ID.

Delete exhibitors

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'exhibitor[delete][]'  => '',
    'exhibitor[delete][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/exhibitor/delete');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);

The above command returns JSON structured like this:


[
    {
        "name": "4150",
        "message": "deleted successfully at 2018-07-20 12:58:17",
        "status": "1"
    },
    {
        "name": "4151",
        "message": "deleted successfully at 2018-07-20 12:58:17",
        "status": "1"
    }
]






This endpoint delete exhibitors.

HTTP Request

POST https://my.eventbuizz.com/api/exhibitor/delete

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
exhibitor[delete][] required Exhibitor ID to delete.
exhibitor[delete][] required Exhibitor another ID to delete

Assign Contact person

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'exhibitor_id'  => '',
    'exhibitor[contact_person][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/exhibitor/assign_contact_person');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);




The above command returns JSON structured like this:


[
    {
        "name": "sam.jay@mail.com",
        "message": "Assign as contact person at 2018-07-20 13:16:49",
        "status": "1"
    },
    {
        "name": "wolo.bolo@mail.com",
        "message": "Assign as contact person at 2018-07-20 13:16:49",
        "status": "1"
    }
]


This endpoint assign contact person.

HTTP Request

POST https://my.eventbuizz.com/api/exhibitor/assign_contact_person

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
exhibitor[contact_person][] required Contact person email address to assign.
exhibitor[contact_person][] required Another contact person email address to assign.

Un assign contact person

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'exhibitor_id'  => '',
    'exhibitor[contact_person][]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/exhibitor/un_assign_contact_person');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:


[
    {
        "name": "sam.jay@mail.com",
        "message": "Un Assign as contact person at 2018-07-20 13:18:13",
        "status": "1"
    },
    {
        "name": "wolo.bolo@mail.com",
        "message": "Un Assign as contact person at 2018-07-20 13:18:13",
        "status": "1"
    }
]


This endpoint un assign contact person.

HTTP Request

POST https://my.eventbuizz.com/api/exhibitor/un_assign_contact_person

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
exhibitor[contact_person][] required Contact person email address to un assign.
exhibitor[contact_person][] required Another contact person email address to un assign.

News & updates

Get all news & updates

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’
]);

$api_endpoint = 'https://my.eventbuizz.com/api/alerts?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "data": [
        {
            "id": 826,
            "event_id": 2174,
            "title": "alert title",
            "description": "alert description",
            "alert_email": "No",
            "alert_sms": "No",
            "pre_schedule": "Yes",
            "scheduled_date": "2018-07-23 08:00:34",
            "sendto_type": "all",
            "send_to": "All"
        },
        {
            "id": 827,
            "event_id": 2174,
            "title": "alert program",
            "description": "Descript",
            "alert_email": "Yes",
            "alert_sms": "No",
            "pre_schedule": "Yes",
            "scheduled_date": "2018-07-23 08:26:13",
            "sendto_type": "agendas",
            "send_to": [
                ""
            ]
        }
    ]
}


This endpoint displays all news & updates.

HTTP Request

GET https://my.eventbuizz.com/api/alerts

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Add news & updates


<?php

$post = [
    'event_id' => '',
    'language_code' => '',
    'alert[0][title]' => '',
    'alert[0][description]' => '',
    'alert[0][pre_schedule]' => '',
    'alert[0][alert_date]' => '',
    'alert[0][alert_time]' => '',
    'alert[0][alert_email]' => '',
    'alert[0][alert_sms]' => '',
    'alert[0][send_to][all][]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/alert/create');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);



The above command returns JSON structured like this:


[
    {
        "name": "alert program",
        "message": "created successfully at 2018-07-23 08:26:13",
        "status": "1"
    }
]



This endpoint add news & updates.

HTTP Request

POST https://my.eventbuizz.com/api/alert/create

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
alert[0][title] required Title.
alert[0][description] required Description.
alert[0][pre_schedule] required yes/no.
alert[0][alert_date] optional Date.
alert[0][alert_time] optional Time.
alert[0][alert_email] optional Send by email 1/0.
alert[0][alert_sms] optional Send by SMS 1/0.
alert[0][send_to][TYPE][] required TYPE can be replaced by following : ‘agendas’ - Program ID, ‘individuals’ - Attendee email address, ‘workshops’ - Workshop ID, ‘polls’ - Polls ID, ‘survey’ - Survey ID, ‘all’ - All types.
alert[0][send_to][TYPE][] required Again TYPE can be replaced by following : ‘agendas’ - Another program ID, ‘individuals’ - Another attendee email address, ‘workshops’ - Another workshop ID, ‘polls’ - Another polls ID, ‘survey’ - Another survey ID.

Edit news & updates


<?php

$post = [
    'event_id' => '',
        'language_code' => '',
        'alert[0][alert_id]' => '',
        'alert[0][title]' => '',
        'alert[0][description]' => '',
        'alert[0][pre_schedule]' => '',
        'alert[0][alert_date]' => '',
        'alert[0][alert_time]' => '',
        'alert[0][alert_email]' => '',
        'alert[0][alert_sms]' => '',
        'alert[0][send_to][all][]' => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/alert/update');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);



The above command returns JSON structured like this:


[
    {
        "name": "alert program EDT 2",
        "message": "updated successfully at 2018-07-23 08:55:49",
        "status": "1"
    }
]



This endpoint edit news & updates.

HTTP Request

POST https://my.eventbuizz.com/api/alert/update

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
alert[0][alert_id] required News & update ID.
alert[0][title] required Title.
alert[0][description] required Description.
alert[0][pre_schedule] required yes/no.
alert[0][alert_date] optional Date.
alert[0][alert_time] optional Time.
alert[0][alert_email] optional Send by email 1/0.
alert[0][alert_sms] optional Send by SMS 1/0.
alert[0][send_to][TYPE][] required TYPE can be replaced by following : ‘agendas’ - Program ID, ‘individuals’ - Attendee email address, ‘workshops’ - Workshop ID, ‘polls’ - Polls ID, ‘survey’ - Survey ID, ‘all’ - All types.
alert[0][send_to][TYPE][] required Again TYPE can be replaced by following : ‘agendas’ - Another program ID, ‘individuals’ - Another attendee email address, ‘workshops’ - Another workshop ID, ‘polls’ - Another polls ID, ‘survey’ - Another survey ID.

Delete news & updates

<?php

$post = [
    'event_id' => '',
    'language_code' => 'en',
    'alert_id[]'  => '',
    'alert_id[]'  => '',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: API_KEY'
));
curl_setopt($ch, CURLOPT_URL, 'https://my.eventbuizz.com/api/alert/delete');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
var_export($response);


The above command returns JSON structured like this:


[
    {
        "name": "826",
        "message": "delete successfully at 2018-07-23 07:02:19",
        "status": "1"
    },
    {
        "name": "827",
        "message": "delete successfully at 2018-07-23 07:02:19",
        "status": "1"
    }
]




This endpoint delete news & updates.

HTTP Request

POST https://my.eventbuizz.com/api/alert/delete

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required ID for event.
program_id required Program ID.
alert_id[] required News & update ID.
alert_id[] required News & update another ID.

Speakerlist

Get speakers

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’,

]);

$api_endpoint = 'https://my.eventbuizz.com/api/speakerlist?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[
  {
    "id": 457,
    "event_id": 2249,
    "agenda_id": 7729,
    "attendee_id": 34233,
    "live_date": "2019-07-15 13:31:16",
    "start_time": "13:31:16",
    "end_time": "13:39:07",
    "attendee": {
      "Attendee_ID": 34233,
      "initial": "gh",
      "first_name": "John",
      "last_name": "Michael",
      "email": "xyz@eventbuizz.com",
      "delegate_number": "Delegate 1",
      "table_number": "Table 21",
      "network_group": "arts group",
      "age": "23",
      "gender": "male",
      "FIRST_NAME_PASSPORT": "John",
      "LAST_NAME_PASSPORT": "Michael",
      "BIRTHDAY_YEAR": "2019-07-11 00:00:00",
      "EMPLOYMENT_DATE": "2019-07-01",
      "image": "1541059674.jpg",
      "company_name": "rrrrrrrrrr",
      "company_key": null,
      "title": "Principal Engineer",
      "organization": "Eventbuizz",
      "department": "Data Entry",
      "country": "Denmark",
      "jobs": "",
      "interests": "web surfing",
      "industry": "Staffing and Recruiting",
      "about": "",
      "phone": "",
      "website": "www.google.com",
      "facebook": "www.facebook.com",
      "twitter": "www.twitter.com",
      "linkedin": "",
      "gdpr": 0,
      "attendee_type_id": 1717,
      "attendee_type": "sponsor"
    },
    "duration": "7:51"
  }
  ,...
]


This API will return spoken attendees in speakerlist.

HTTP Request

GET https://my.eventbuizz.com/api/speakerlist

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.
output optional Default value is xml. Possible values json, xml
program_id optional Program ID, allows to get speakerlist data for particular program.
number_range_from optional Will return data starting from this number.
number_range_to optional Will return data ending to this number.
from_date optional Date range from parameter.
to_date optional Date range to parameter.

Eventsite banners

Get banners

<?php

$query = http_build_query([
 'language_code' => 'en',
 event_id => ‘’,

]);

$api_endpoint = 'https://my.eventbuizz.com/api/banners?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[
    {
        "id": 327,
        "event_id": 2247,
        "banner_type": "top",
        "video_type": "1",
        "video_duration": "",
        "image": "image_3861236841566981155.jpg",
        "sort_order": 1,
        "status": 1,
        "created_at": "2019-12-04 07:52:55",
        "updated_at": "2019-12-04 08:01:47",
        "image_url": "https://my.eventbuizz.com/assets/eventsite_banners/image_3861236841566981155.jpg",
        "title": "Na",
        "subtitle": "Subtitles"
    },
    {
        "id": 328,
        "event_id": 2247,
        "banner_type": "banner",
        "video_type": "2",
        "video_duration": "410000",
        "image": "others_1575446053.mp4",
        "sort_order": 0,
        "status": 1,
        "created_at": "2019-12-04 07:55:20",
        "updated_at": "2019-12-04 07:55:20",
        "image_url": "https://my.eventbuizz.com/assets/eventsite_banners/others_1575446053.mp4",
        "title": "Banners",
        "subtitle": "Vide"
    }
]


This API will return eventsite banners.

HTTP Request

GET https://my.eventbuizz.com/api/banners

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Speakers

Get speakers

<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => '',
 'page' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/speakers?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "total": 3,
    "per_page": 50,
    "current_page": 1,
    "last_page": 1,
    "from": 1,
    "to": 3,
    "data": [
        {
            "speaker": {
                "Attendee_ID": 36xyz,
                "eventsite_show_home": 0,
                "sort_order": 0,
                "agenda_speaker_sort": 0,
                "initial": "adnan",
                "first_name": "name",
                "last_name": "surname",
                "profile_image": "http://my.eventbuizz.com/assets/attendees/1563173951.jpg",
                "email": "efe@email.com",
                "delegate_number": "delegate number",
                "table_number": "test",
                "network_group": "network group",
                "age": "10",
                "gender": "female",
                "FIRST_NAME_PASSPORT": "name",
                "LAST_NAME_PASSPORT": "pASPOERT",
                "BIRTHDAY_YEAR": "2019-12-03 00:00:00",
                "EMPLOYMENT_DATE": "2019-12-05",
                "image": "1563173951.jpg",
                "company_name": "XYZ",
                "company_key": "",
                "title": "Na",
                "organization": "XYZ",
                "department": "ABC",
                "country": "United States",
                "jobs": "12",
                "interests": "ABC",
                "industry": "it",
                "about": "",
                "phone": "+45-8736428",
                "website": "www.wesite.com",
                "facebook": "www.facebook.com",
                "twitter": "www.twitter.com",
                "linkedin": "www.linkedin.com",
                "gdpr": null,
                "attendee_type_id": 24xx,
                "attendee_type": "Exhibitor",
                "allow_vote": 1,
                "allow_gallery": 1,
                "ask_to_apeak": 1,
                "type_resource": 1,
                "allow_my_document": 0
            },
            "programs": [
                {
                    "id": xx00,
                    "event_id": 2xxx,
                    "start_date": "2019-08-20",
                    "start_time": "13:00:30",
                    "link_type": "misc",
                    "created_at": "2019-10-21 07:54:40",
                    "updated_at": "2019-12-03 10:56:52",
                    "workshop_id": 0,
                    "qa": 1,
                    "ticket": 30,
                    "enable_checkin": 1,
                    "enable_speakerlist": 1,
                    "hide_on_registrationsite": 1,
                    "program_detail": {
                        "topic": "Topic",
                        "description": "topic description",
                        "date": "20-08-2019",
                        "start_time": "13:00:30",
                        "end_time": "13:45:00",
                        "location": "Denmark"
                    }
                },
                {
                    "id": 7xxx,
                    "event_id": 2xxx,
                    "start_date": "2019-08-20",
                    "start_time": "17:30:30",
                    "link_type": "misc",
                    "created_at": "2019-10-16 12:23:47",
                    "updated_at": "2019-11-28 06:09:31",
                    "workshop_id": 0,
                    "qa": 0,
                    "ticket": 0,
                    "enable_checkin": 0,
                    "enable_speakerlist": 1,
                    "hide_on_registrationsite": 0,
                    "program_detail": {
                        "topic": "GDPR",
                        "description": "description",
                        "date": "20-08-2019",
                        "start_time": "17:30",
                        "end_time": "18:30",
                        "location": "Copenhagen"
                    }
                }
            ],
            "categories": [
                {
                    "id": xxx,
                    "speaker_id": 3xxx,
                    "category_id": 1xxx,
                    "status": 0,
                    "created_at": "2019-12-03 14:22:27",
                    "updated_at": "2019-12-03 14:22:27",
                    "deleted_at": null,
                    "categories_info": [
                        {
                            "id": 1xxx,
                            "name": "name",
                            "value": "sub categories ",
                            "category_id": 1xxx,
                            "languages_id": 1,
                            "status": 0,
                            "created_at": "2019-12-03 08:36:30",
                            "updated_at": "2019-12-03 08:36:30",
                            "deleted_at": null
                        }
                    ]
                }
            ]
        },
    ]
}


This API will return speakers. This API returns data in pagination and page size is 50 records per page.

HTTP Request

GET https://my.eventbuizz.com/api/speakers

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.
page blank Page number.

Registration items

Get items

<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/items?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[
    {
        "id": 2xxx3,
        "link_to": "none",
        "link_to_id": 0,
        "sort_order": 0,
        "item_number": "0001",
        "event_id": 6xxx,
        "organizer_id": xx,
        "price": 0,
        "total_tickets": 0,
        "status": 1,
        "ticket_item_id": null,
        "is_free": 0,
        "is_default": 0,
        "is_required": 0,
        "type": "event_fee",
        "created_at": "2019-07-17 12:05:57",
        "updated_at": "2019-07-17 12:05:57",
        "is_archive": 0,
        "is_ticket": 0,
        "detail": {
            "item_name": "Event fee",
            "description": ""
        },
        "sold_tickets": false,
        "quantity": 0
    },
    {
        "id": 2xxx,
        "link_to": "none",
        "link_to_id": 0,
        "sort_order": 0,
        "item_number": "0002",
        "event_id": xxx,
        "organizer_id": xxx,
        "price": 10,
        "total_tickets": 0,
        "status": 1,
        "ticket_item_id": null,
        "is_free": 0,
        "is_default": 0,
        "is_required": 0,
        "type": "admin_fee",
        "created_at": "2019-07-17 12:05:57",
        "updated_at": "2019-12-13 07:21:15",
        "is_archive": 0,
        "is_ticket": 0,
        "detail": {
            "item_name": "Administration fee",
            "description": "itemssss&nbsp;"
        },
        "sold_tickets": false,
        "quantity": 0
    },
    {
        "id": xxx,
        "link_to": "none",
        "link_to_id": 0,
        "sort_order": 0,
        "item_number": "123",
        "event_id": xxx,
        "organizer_id": xxx,
        "price": 1000.05,
        "total_tickets": 20,
        "status": 1,
        "ticket_item_id": null,
        "is_free": 0,
        "is_default": 0,
        "is_required": 0,
        "type": "item",
        "created_at": "2019-09-02 05:59:45",
        "updated_at": "2019-09-02 06:27:20",
        "is_archive": 0,
        "is_ticket": 0,
        "detail": {
            "item_name": "Stripe",
            "description": ""
        },
        "sold_tickets": false,
        "quantity": 10
    },
    {
        "id": xxx,
        "link_to": "none",
        "link_to_id": 0,
        "sort_order": 0,
        "item_number": "11",
        "event_id": xxx,
        "organizer_id": xxx,
        "price": 25.26,
        "total_tickets": 10000,
        "status": 1,
        "ticket_item_id": null,
        "is_free": 0,
        "is_default": 0,
        "is_required": 0,
        "type": "item",
        "created_at": "2019-10-04 10:49:11",
        "updated_at": "2019-10-04 10:49:35",
        "is_archive": 0,
        "is_ticket": 0,
        "detail": {
            "item_name": "111",
            "description": ""
        },
        "sold_tickets": false,
        "quantity": 1000
    },
    {
        "id": xxx,
        "group_id": xxx,
        "group_type": "single",
        "group_required": "no",
        "group_is_expanded": "yes",
        "sort_order": 0,
        "status": 1,
        "is_free": 0,
        "type": "group",
        "created_at": "2019-12-13 07:11:52",
        "updated_at": "2019-12-13 07:11:52",
        "is_archive": 0,
        "is_ticket": 0,
        "item_data": [
            {
                "id": xxx,
                "link_to": "none",
                "link_to_id": 0,
                "sort_order": 0,
                "item_number": "120",
                "event_id": xxx,
                "organizer_id": xxx,
                "price": 130,
                "total_tickets": 100,
                "status": 1,
                "ticket_item_id": xxx,
                "is_free": 0,
                "is_default": 0,
                "is_required": 0,
                "type": "item",
                "created_at": "2019-12-13 07:15:44",
                "updated_at": "2019-12-13 07:15:44",
                "is_archive": 0,
                "is_ticket": 0,
                "detail": {
                    "item_name": "100",
                    "description": ""
                },
                "quantity": 20
            },
            {
                "id": xxx,
                "link_to": "program",
                "link_to_id": xxx,
                "sort_order": 0,
                "item_number": "100",
                "event_id": xxx,
                "organizer_id": xxx,
                "price": 11,
                "total_tickets": 10,
                "status": 1,
                "ticket_item_id": xxx,
                "is_free": 0,
                "is_default": 0,
                "is_required": 0,
                "type": "item",
                "created_at": "2019-12-13 07:16:06",
                "updated_at": "2019-12-13 07:20:10",
                "is_archive": 0,
                "is_ticket": 0,
                "detail": {
                    "link_to_name": "programs",
                    "item_name": "programs (2019-07-17 12:15:00 - 13:15:00)",
                    "description": ""
                },
                "quantity": 10
            }
        ],
        "detail": {
            "group_name": "Group2"
        },
        "sold_tickets": false
    }
]

This API will return registration items / billing items of given event.

HTTP Request

GET https://my.eventbuizz.com/api/items

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.
#IRFAN

Documents

Get documents

<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/documents?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "data": [
        {
            "id": xxxx,
            "event_id": "xxxx",
            "directory_name": "Program 321",
            "sub_folder": [
                [
                    {
                        "id": xxxx,
                        "name": "Tand-talk 1: Fokus p en bÊredygtig tandpleje",
                        "sort_order": 1,
                        "files": [
                            {
                                "id": xxxx,
                                "name": "10339230_361999233969291_9048xxxx528283403_o.jpg",
                                "path": "https://my.eventbuizz.com/assets/directory/image_64909579xxxx71518.jpg",
                                "sort_order": 5,
                                "start_date": "2020-01-02",
                                "start_time": "18:25:00"
                            },
                            {
                                "id": xxxx,
                                "name": "AV Template design instruction.docx",
                                "path": "https://my.eventbuizz.com/assets/directory/document_157797153xxxx6.docx",
                                "sort_order": 4,
                                "start_date": "2020-01-02",
                                "start_time": "18:25:00"
                            },
                            {
                                "id": xxxx,
                                "name": "18112019CA1045R.pdf",
                                "path": "https://my.eventbuizz.com/assets/directory/document_15xxxx971553.pdf",
                                "sort_order": 3,
                                "start_date": "2020-01-02",
                                "start_time": "18:25:00"
                            },
                            {
                                "id": xxxx,
                                "name": "export.csv",
                                "path": "https://my.eventbuizz.com/assets/directory/others_1xxxx971570.csv",
                                "sort_order": 2,
                                "start_date": "2020-01-02",
                                "start_time": "18:25:00"
                            },
                            {
                                "id": xxxx,
                                "name": "Stupid Saiyaan 320kbps - Mp3Vista.Com.mp3",
                                "path": "https://my.eventbuizz.com/assets/directory/others_xxxx77972206.mp3",
                                "sort_order": 1,
                                "start_date": "2020-01-31",
                                "start_time": "19:19:00"
                            }
                        ],
                        "sub_folder": null
                    }
                ]
            ]
        },
        {
            "id": xxxx,
            "event_id": "xxxx",
            "directory_name": "Speakers 321",
            "sub_folder": [
                [
                    {
                        "id": xxxx,
                        "name": "Muhammad Kamran Afzal",
                        "sort_order": 1,
                        "files": [],
                        "sub_folder": null
                    }
                ]
            ]
        },
        {
            "id": xxxx,
            "event_id": "xxxx",
            "directory_name": "Sponsors 132",
            "sub_folder": [
                [
                    {
                        "id": xxxx,
                        "name": "sales",
                        "sort_order": 1,
                        "files": [],
                        "sub_folder": null
                    }
                ]
            ]
        },
        {
            "id": xxxx,
            "event_id": "xxxx",
            "directory_name": "Exhibitors 231",
            "sub_folder": [
                [
                    {
                        "id": xxxx,
                        "name": "Collector",
                        "sort_order": 1,
                        "files": [],
                        "sub_folder": null
                    }
                ]
            ]
        },
        {
            "id": xxxx,
            "event_id": "xxxx",
            "directory_name": "Other 321",
            "sub_folder": [
                []
            ],
            "files": []
        }
    ]
}

This API will return documents of given event.

HTTP Request

GET https://my.eventbuizz.com/api/documents

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Event image gallery

Get images

<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/imageGallery?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


[
    {
        "id": xxxxx,
        "event_id": xxxxx,
        "attendee_id": xxxxx,
        "image": "image_1023636361577346455_13516395_1039xxxxx9486908_6737534130321125791_n.jpg",
        "sort_order": 0,
        "created_at": "2019-12-26 12:47:35",
        "updated_at": "2019-12-26 12:47:35",
        "image_likes": [
            {
                "attendee_id": xxxxx,
                "image_id": xxxxx,
                "created_at": "2020-01-02 17:22:51",
                "like_attendee": {
                    "id": xxxxx,
                    "email": "chrome@xxxxx.com",
                    "first_name": "Chrome",
                    "last_name": "Chrome"
                }
            },
            {
                "attendee_id": xxxxx,
                "image_id": xxxxx,
                "created_at": "2020-01-02 17:55:55",
                "like_attendee": {
                    "id": xxxxx,
                    "email": "kami@xxxxx.com",
                    "first_name": "Muhammad Kamran",
                    "last_name": "Afzal"
                }
            }
        ],
        "image_attendee": {
            "id": xxxxx,
            "email": "kami@xxxxx.com",
            "first_name": "xxxxx Kamran",
            "last_name": "Afzal"
        },
        "image_title": "Newspaper Heading edited ",
        "image_caption": "Ahmedi declared non muslims edited",
        "image_url": "https://my.eventbuizz.com/assets/imagegallery/image_1023636361577346455_13516395_1039246459486908_6737534130321125791_n.jpg",
        "image_comments": [
            {
                "id": xxxxx,
                "event_id": xxxxx,
                "attendee_id": xxxxx,
                "parent_id": 0,
                "image_id": xxxxx,
                "comment": "saffron nazia hassan then he kissed me song",
                "created_at": "2020-01-02 18:02:10",
                "updated_at": "2020-01-02 18:02:10",
                "comments_replies": [
                    {
                        "id": xxxxx,
                        "comment": "nightingale of East",
                        "parent_id": xxxxx,
                        "attendee_id": xxxxx,
                        "comment_attendee": {
                            "id": xxxxx,
                            "email": "kami@xxxxx.com",
                            "first_name": "xxxxx Kamran",
                            "last_name": "Afzal"
                        }
                    }
                ],
                "comments_likes": [],
                "comment_attendee": {
                    "id": xxxxx,
                    "email": "chrome@xxxxx.com",
                    "first_name": "Chrome",
                    "last_name": "Chrome"
                }
            },
            {
                "id": xxxxx,
                "event_id": xxxxx,
                "attendee_id": xxxxx,
                "parent_id": 0,
                "image_id": xxxxx,
                "comment": "nightingale of east",
                "created_at": "2020-01-02 18:07:03",
                "updated_at": "2020-01-02 18:07:03",
                "comments_replies": [],
                "comments_likes": [
                    {
                        "attendee_id": xxxxx,
                        "comment_id": xxxxx,
                        "created_at": "2020-01-02 18:07:23",
                        "like_attendee": {
                            "id": xxxxx,
                            "email": "kami@xxxxx.com",
                            "first_name": "xxxxx Kamran",
                            "last_name": "Afzal"
                        }
                    }
                ],
                "comment_attendee": {
                    "id": xxxxx,
                    "email": "kami@xxxxx.com",
                    "first_name": "xxxxx Kamran",
                    "last_name": "Afzal"
                }
            }
        ]
    },
    {
        "id": xxxxx,
        "event_id": xxxxx,
        "attendee_id": 0,
        "image": "image_43756718415773xxxxx47504.jpg",
        "sort_order": 0,
        "created_at": "2019-12-26 08:05:18",
        "updated_at": "2019-12-26 08:05:18",
        "image_likes": [],
        "image_attendee": null,
        "image_title": "Title",
        "image_caption": "Caption",
        "image_url": "https://my.eventbuizz.com/assets/imagegallery/image_43756718415xxxxx77347504.jpg",
        "image_comments": []
    }
]

This API will return event app image gallery.

HTTP Request

GET https://my.eventbuizz.com/api/imageGallery

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Eventsite image gallery

Get images and videos of eventsite.

<?php

$query = http_build_query([
 'language_code' => 'en',
 'event_id' => ''
]);

$api_endpoint = 'https://my.eventbuizz.com/api/eventsite/imageGallery?' . $query;    
$API_KEY = API_KEY;

$headers = array();
$headers[] = 'Content-Type: application/json';
$headers[] = 'Authorization:'.$API_KEY;

$curl = curl_init($api_endpoint);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); 

// Make the REST call, returning the result
$response = curl_exec($curl);



The above command returns JSON structured like this:


{
    "photos": [
        {
            "id": xxxxx,
            "sort_order": 0,
            "event_id": xxxxx,
            "image": "image_180872574515779xxxxx62358.jpg",
            "created_at": "2020-01-02 10:53:24",
            "updated_at": "2020-01-02 10:59:45",
            "image_url": "https://my.eventbuizz.com/assets/photos/image_180872574515779xxxxx62358.jpg",
            "image_title": "TITLE NO 3"
        },
        {
            "id": xxxxx,
            "sort_order": 1,
            "event_id": xxxxx,
            "image": "image_178356540215779xxxxx62358.png",
            "created_at": "2020-01-02 10:53:24",
            "updated_at": "2020-01-02 11:00:15",
            "image_url": "https://my.eventbuizz.com/assets/photos/image_178356540215779xxxxx62358.png",
            "image_title": "title no 2"
        },
        {
            "id": xxxxx,
            "sort_order": 2,
            "event_id": xxxxx,
            "image": "image_126348569215779xxxxx62358.png",
            "created_at": "2020-01-02 10:53:24",
            "updated_at": "2020-01-02 11:00:15",
            "image_url": "https://my.eventbuizz.com/assets/photos/image_126348569215779xxxxx62358.png",
            "image_title": "Title no 1 "
        }
    ],
    "videos": [
        {
            "id": xxxxx,
            "event_id": xxxxx,
            "sort_order": 0,
            "URL": "https://www.youtube.com/watch?v=wYG-zIP5Vis",
            "type": "3",
            "video_path": "",
            "created_at": "2020-01-02 10:24:27",
            "updated_at": "2020-01-02 10:48:55",
            "thumbnail": "102424_image_13464227101577960657.png",
            "thumbnail_url": "https://my.eventbuizz.com/assets/videos/102424_image_13464227101577960xxxxx657.png",
            "video_title": "you tube 23232"
        },
        {
            "id": xxxxx,
            "event_id": xxxxx,
            "sort_order": 1,
            "URL": "https://www.dailymotion.com/video/x2u0c9l",
            "type": "1",
            "video_path": "",
            "created_at": "2020-01-02 10:26:20",
            "updated_at": "2020-01-02 10:48:58",
            "thumbnail": "102618_image_16013116351577960775.jpg",
            "thumbnail_url": "https://my.eventbuizz.com/assets/videos/102618_image_16013116351577960xxxxx775.jpg",
            "video_title": "daily motion 32"
        },
        {
            "id": xxxxx,
            "event_id": xxxxx,
            "sort_order": 2,
            "URL": "https://vimeo.com/86757161",
            "type": "2",
            "video_path": "",
            "created_at": "2020-01-02 10:26:56",
            "updated_at": "2020-01-02 10:49:00",
            "thumbnail": "102651_image_3533972341577960806.jpg",
            "thumbnail_url": "https://my.eventbuizz.com/assets/videos/102651_image_3533972341577960xxxxx806.jpg",
            "video_title": "Vimeo 3232"
        },
        {
            "id": xxxxx,
            "event_id": xxxxx,
            "sort_order": 3,
            "URL": "https://www.facebook.com/TheLegend.NFAKOfficial/videos/2496733523768352/UzpfSTY1MzA2OTQ0NjoxMDE1OTIzNTMxNDE1NDQ0Nw/",
            "type": "4",
            "video_path": "",
            "created_at": "2020-01-02 10:27:29",
            "updated_at": "2020-01-02 10:49:02",
            "thumbnail": "102727_image_20362426461577960842.jpg",
            "thumbnail_url": "https://my.eventbuizz.com/assets/videos/102727_image_203624264615779xxxxx60842.jpg",
            "video_title": "Others URL 323"
        },
        {
            "id": xxxxx,
            "event_id": xxxxx,
            "sort_order": 4,
            "URL": "",
            "type": "5",
            "video_path": "https://my.eventbuizz.com/assets/videos/others_1577961133.mp4",
            "created_at": "2020-01-02 10:32:37",
            "updated_at": "2020-01-02 10:49:02",
            "thumbnail": "102752_image_2295634711577960865.png",
            "thumbnail_url": "https://my.eventbuizz.com/assets/videos/102752_image_229563471157796xxxxx0865.png",
            "video_title": "upload from device 321321"
        }
    ]
}

This API will return eventsite images and videos of image gallery module.

HTTP Request

GET https://my.eventbuizz.com/api/eventsite/imageGallery

Query Parameters

Parameter Default Description
language_code required Two character language code. For e.g ‘en’.
event_id required Event ID.

Errors

The Eventbuizz API uses the following error codes:

Error Code Meaning
400 Bad Request – Your request failed
401 Unauthorized – Your API key is wrong
500 Internal Server Error – We had a problem with our server. Try again later.
503 Service Unavailable – We’re temporarily offline for maintenance. Please try again later.
php