Boltmesh Docs
OpenAPI

Get waitlist item count of a project

Get total item count of a waitlist project by ID.

GET
/v1/waitlists/{id}/count

Authorization

Authorization

AuthorizationBearer <token>

Your team's root key.

In: header

Path Parameters

idstring

Unique ID

Pattern"^[a-zA-Z0-9_-]{21}$"
Length21 <= length <= 21

Response Body

OK

TypeScript Definitions

Use the response body type in TypeScript.

okboolean

The response status.

messagestring

The reponse messgae.

totalnumber

The amount of the resource.

curl -X GET "https://api.boltmesh.com/v1/waitlists/stringstringstringstr/count"
fetch("https://api.boltmesh.com/v1/waitlists/stringstringstringstr/count")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.boltmesh.com/v1/waitlists/stringstringstringstr/count"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.boltmesh.com/v1/waitlists/stringstringstringstr/count"

response = requests.request("GET", url)

print(response.text)
{
  "ok": true,
  "message": "string",
  "total": 16
}