POST /users/send_invite_link
Creates a user and sends account information to email
POST /users/send_invite_link
curl \
-X POST https://api.cosmily.com/api/v1/users/send_invite_link \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"email":"joe@cosmily.com"}'
Request example
{
"email": "joe@cosmily.com"
}
Request examples
{
"email": "joe@cosmily.com"
}
Response examples (200)
{
"data": {
"id": 42,
"auth0_id": "string",
"username": "string",
"email": "string",
"user_type": "string",
"followed_by_count": 42,
"following_count": 42,
"supergroups": [
"string"
],
"last_active": "string",
"followed_by_me": true
}
}
Response examples (200)
{
"data": {
"id": 42,
"auth0_id": "string",
"username": "string",
"email": "string",
"user_type": "string",
"followed_by_count": 42,
"following_count": 42,
"supergroups": [
"string"
],
"last_active": "string",
"followed_by_me": true
}
}