Skip to content

Approve Waitlist Contact

POST
/api/superadmin/waitlist/approve
curl --request POST \
--url https://example.com/api/superadmin/waitlist/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "example", "org_id": "example", "role": "member" }'

Approve a single waitlist contact.

Creates a pending org invite for the email, which sends a signup magic-link email.

Media type application/json
ApproveContactRequest
object
email
required
Email
string
org_id
Any of:
string
role
Role
string
default: member

Successful Response

Media type application/json
ApproveContactResponse
object
invite
required
Invite
object
key
additional properties
any
Example generated
{
"invite": {}
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}