get-event-categories

Use this API to get list of event categories

Use this API to get the list of event categories

POST https://api.memzo.ai/v1.1/get-event-categories

Headers

Name
Type
Description

Authorization *

YOUR_SECRET_KEY

x-api-key*

String

YOUR_API_KEY

{
    "data": [
        {
            "id": "1",
            "name": "Birthday"
        },
        {
            "id": "2",
            "name": "Corporate Event"
        },
        {
            "id": "3",
            "name": "Private Event"
        },
        {
            "id": "4",
            "name": "Sports"
        },
        {
            "id": "5",
            "name": "Wedding"
        },
        {
            "id": "6",
            "name": "College Event"
        },
        {
            "id": "7",
            "name": "Social Club"
        },
        {
            "id": "8",
            "name": "Hotel Event"
        }
    ],
    "error": false,
    "message": "success"
}
Sample Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.memzo.ai/v1/get-event-categories',
  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_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