create-event-album

Use this API to create new Album (Folder) in an existing event

Use this API to create new Album (Folder) in an existing event

POST https://api.memzo.ai/v1/create-event-album/

Headers

Name
Type
Description

Authorization *

YOUR_SECRET_KEY

x-api-key*

String

YOUR_API_KEY

Request Body

Name
Type
Description

event_id*

String

4296

album_name*

String

FirstAlbum

{
  "data": [
    {
      "id": "7578",
      "event_id": "4296",
      "album_name": "FirstAlbum",
      "is_active": "1",
      "datetime_created": "2023-03-17 10:25:48"
    }
  ],
  "error": false,
  "message": "Album has been created."
}
Sample Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.memzo.ai/v1/create-event-album',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array('event_id' => '4296','album_name' => 'FirstAlbum'),
  CURLOPT_HTTPHEADER => array(
    'Authorization: YOUR_SECRET_KEY',
    'x-api-key: YOUR_API_KEY'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

For more detailed information, please refer to the full Postman documentation here.

Last updated