Signup endpoint
In this section, we will be talking about the Base URL for requests
Production Base URL: https://api.waitstream.com
The URL to make requests and sign up users to your waitlist is /api/v1/waitlist/sign-up
The payload structure for this request:
{
"waitlist_id": "string",
"email": "[email protected]",
"name": "string"
} The waitlist_id and email are required, the name is optional
# Sample Python Request
import requests
url = "https://api.waitstream.com/api/v1/waitlist/sign-up"
headers = {
"accept": "application/json",
"Content-Type": "application/json"
}
data = {
"waitlist_id": "string", # Replace with actual waitlist_id
"email": "[email protected]", # Replace with the user's email
"name": "string" # This is optional, Replace with actual user name
}
response = requests.post(url, json=data, headers=headers)
print(response.status_code)
print(response.json())
Last updated