appgram / docs
Dashboard

API REFERENCE

Waitlist

Join, leave, and inspect a project waitlist.

v1.0

Waitlist

List waitlist entries

Get paginated list of all users on project wishlist (admin only)

Required API key scope: wishlist:view.

GET/api/v1/projects/{id}/wishlist

Authorizations

x-api-key (header)required

Request examples show the credential location. Use a server-side key with the permissions required by this operation.

Path parameters

idstringpathrequired

Query parameters

pageintegerquery
per_pageintegerquery

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

GET /api/v1/projects/{id}/wishlist
curl --request GET \
  --url 'https://api.appgram.dev/api/v1/projects/{id}/wishlist' \
  --header 'x-api-key: <api-key>'
Response · 200
{
  "data": [
    {
      "created_at": "1970-01-01T00:00:00.000Z",
      "email": "string",
      "id": "string",
      "name": "string",
      "user_id": "string"
    }
  ],
  "page": 0,
  "per_page": 0,
  "success": true,
  "total": 0,
  "total_pages": 0
}

Waitlist

Count waitlist entries

Get total number of users on project wishlist

GET/api/v1/projects/{id}/wishlist/count

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

idstringpathrequired

Responses

200

OK

400

Bad Request

404

Not Found

500

Internal Server Error

GET /api/v1/projects/{id}/wishlist/count
curl --request GET \
  --url 'https://api.appgram.dev/api/v1/projects/{id}/wishlist/count'
Response · 200
{
  "data": {
    "count": 0
  },
  "success": true
}

Waitlist

Join the waitlist

Add current user or email to project wishlist

POST/api/v1/projects/{id}/wishlist/join

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

idstringpathrequired

Body

application/json
emailstring
fingerprintstring
namestring

Responses

201

Created

400

Bad Request

404

Not Found

409

Conflict

POST /api/v1/projects/{id}/wishlist/join
curl --request POST \
  --url 'https://api.appgram.dev/api/v1/projects/{id}/wishlist/join' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "string",
  "fingerprint": "string",
  "name": "string"
}'
Response · 201
{
  "data": {
    "created_at": "1970-01-01T00:00:00.000Z",
    "email": "string",
    "id": "string",
    "name": "string",
    "user_id": "string"
  },
  "success": true
}

Waitlist

Leave the waitlist

Remove current user from project wishlist

DELETE/api/v1/projects/{id}/wishlist/leave

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

idstringpathrequired

Query parameters

emailstringquery
fingerprintstringquery

Responses

200

OK

400

Bad Request

404

Not Found

DELETE /api/v1/projects/{id}/wishlist/leave
curl --request DELETE \
  --url 'https://api.appgram.dev/api/v1/projects/{id}/wishlist/leave'
Response · 200
{
  "data": {
    "success": true
  },
  "success": true
}

Waitlist

Check waitlist membership

Check if current user is on project wishlist

GET/api/v1/projects/{id}/wishlist/status

Authorizations

None

No management API key is required. Supply the project context and any customer credential listed in this operation.

Path parameters

idstringpathrequired

Query parameters

emailstringquery
fingerprintstringquery

Responses

200

OK

400

Bad Request

500

Internal Server Error

GET /api/v1/projects/{id}/wishlist/status
curl --request GET \
  --url 'https://api.appgram.dev/api/v1/projects/{id}/wishlist/status'
Response · 200
{
  "data": {
    "is_on_wishlist": true
  },
  "success": true
}
—