Create Prospective User
POST
/user/create_prospective_user/
User
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/user/create_prospective_user/' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "user@mail.com",
"first_name": "John",
"last_name": "Doe",
"send_welcome_emails": true
}'
Response Response Example
201 - Example 1
{
"authentication_providers": [
{
"provider": "google-oauth2",
"provider_user_id": 1234
}
],
"avatar": {
"url": "https://res.cloudinary.com/startup-grind/image/upload/.../image.png",
"path": "image.png",
"thumbnail_width": 720,
"thumbnail_height": 540,
"thumbnail_format": "auto",
"thumbnail_url": "https://res.cloudinary.com/startup-grind/image/upload/.../image.png"
},
"company": "Bevy",
"cropped_avatar_url": "https://res.cloudinary.com/startup-grind/image/fetch/.../image.jpeg",
"extra_data": {},
"title": "Mr.",
"role": {
"id": 1234,
"name": "Prospective",
"description": "Prospective Member",
"user_active_status": true
},
"email": "user@mail.com",
"first_name": "John",
"id": 1234,
"last_name": "Doe",
"username": "string"
}
Request
Body Params application/json