Get Huddle Generated API Key that validates your sub-domain and allows seamless experience to our end points
http://localhost:4500
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"
}
]
}
You need to pass the API KEY that validates the existence of your subdomain on every request you make to the huddle backend.
create-meeting
Resource URL: http://localhost:4500/create-meeting
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 |
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...",
}'