API

API

Event Gallery Subscription Required  | For Advanced Users Only                            
                                                                                                                                                          

Event Gallery has an open API that allows for uploading of images and creating of galleries. 

Parameters


Upload

For upload picture into collection you must send POST request on  /api/v1/picture/upload endpoint with with the following parameters in the URL:

  • name - picture real name with extension (string value).
    • Optional parameter. If not provided - API will attempt to use picture name from a request body (POST or FILE array)
  • collection-name - collection name (string value).
    • Allowed characters: digits, numbers, white spaces and sign "-"
  • collection-date - collection event date (string value).
    • Example 2018-02-22
  • token - Token you can get in your API key token in "Integration" tab of Event Gallery settings.
  • tag - define tag for current image.
    • For linking of images to each other (e.g. multiple photos from one photo session or still images in a GIF). Optional parameter.
  • collection-url - collection custom url (string value).
    • Allowed characters list a-z A-Z 0-9 -. Optional parameter.

Request body must contain picture content or picture URL.

Example Request


curl -XPOST

-d '<picture_content> or <picture_url>'

'https://app.eventgallery.com/api/v1/picture/upload?tag={uid}&collection-url={customUrl}&collection-name={eventName}&collection-date={date}&name={filename}&token=HULAGALLERYAPITOKEN'

    • Related Articles

    • Creating A Gallery

        Event Gallery Subscription Required   | Step By Step Instructions                                                                                                                                                                                 ...
    • Gallery Statistics

      Event Gallery Subscription Required  | Step By Step Instructions                                                                                                                                                                                        ...
    • Live Gallery Feed

        Event Gallery Subscription Required   | Step By Step Instructions                                                                                                                                                                                  ​On ...
    • How to Embed a Gallery on Your Website

      Video Step by step instructions 1.Access the embed code section for your gallery. 2.Generate the embed code. 3. Copy your code into a custom HTML block on your page or post. Here is the sample code used in the instructions above. <html><div ...
    • Downloading Options in Event Gallery

        (A) Download Images- This option allows the user to download individual images. (B) Download with watermark- Enabling this option will apply a watermark to the downloading images. A watermark selected in the "watermark and Logo" section. (C) ...