Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export a waitlist
cURL
curl --request POST \ --url https://admin.fanfare.io/api/waitlists/{id}/export \ --header 'Authorization: Bearer <token>'
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}}; fetch('https://admin.fanfare.io/api/waitlists/{id}/export', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://admin.fanfare.io/api/waitlists/{id}/export" headers = {"Authorization": "Bearer <token>"} response = requests.post(url, headers=headers) print(response.text)
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://admin.fanfare.io/api/waitlists/{id}/export" req, _ := http.NewRequest("POST", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "archived": true, "consumerCount": 123, "createdAt": "2023-11-07T05:31:56Z", "createdBy": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "progress": 123, "status": "PENDING", "waitlistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "error": "<string>", "lastFileId": 123, "updatedAt": "2023-11-07T05:31:56Z", "updatedBy": "<string>" }
{ "error": "validation_error", "issues": [ { "expected": "<string>", "kind": "<string>", "message": "<string>", "path": [ { "input": "<unknown>", "key": "<string>", "origin": "<string>", "type": "<string>" } ], "received": "<string>", "type": "<string>" } ] }
{ "error": "<string>" }
Fanfare secret key. Keep secret credentials on your server.
Waitlist exported successfully
PENDING
PROCESSING
COMPLETED
FAILED