Get your API KEY

Get Huddle Generated API Key that validates your sub-domain and allows seamless experience to our end points

Resource URL

http://localhost:4500

Authorization

Require Huddle Generated API Key in header with Bearer

curl -X POST \\
  '<http://localhost:4500/create-meeting>' \\
  --header 'Accept: */*' \\
  --header 'Authorization: BearerĀ {{API_KEY}}' \\
  --header 'Content-Type: application/json' \\

ERROR

{
    "status": "fail",
    "errors": [
        {
            "message": "Api Token Required"
        }
    ]
}

Client Endpoints

You need to pass the API KEY that validates the existence of your subdomain on every request you make to the huddle backend.

POST: create-meeting

Resource URL: http://localhost:4500/create-meeting

Parameters

Param Required Type Description Example
title true String Title of your huddle meeting Welcome to the rocket ship šŸš€
meetingType false String Type of meeting, tokenGated or regular tokenGated
contractAd1 false String Contract address, if token gating 0xd319649206db744a01B90A6BAc53cdeEfB787fd4

Example Request

curl -X POST \\
  '<http://localhost:4500/create-meeting>' \\
  --header 'Accept: */*' \\
  --header 'User-Agent: Thunder Client (<https://www.thunderclient.com>)' \\
  --header 'Authorization: BearerĀ {{API_KEY}}' \\
  --header 'Content-Type: application/json' \\
  --data-raw '{
    "title" : "Welcome to the Rocket Ship...",
}'

Example Response