Invite
Send Invite
This endpoint sends an invite to a user to join a tenant
client_id?string
expires?string
Format
date-time
invite_text?string
invitee_email?string
inviter_email?string
inviter_name?string
inviter_user_id?string
redirect_url?string
state?string
Response Body
curl -X POST "https://your-tenant-name.tenant.userclouds.com/invite/send" \
-H "Content-Type: application/json" \
-d '{}'
const body = JSON.stringify({})
fetch("https://your-tenant-name.tenant.userclouds.com/invite/send", {
body
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
"strings"
)
func main() {
url := "https://your-tenant-name.tenant.userclouds.com/invite/send"
body := strings.NewReader(`{}`)
req, _ := http.NewRequest("POST", url, body)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://your-tenant-name.tenant.userclouds.com/invite/send"
body = {}
response = requests.request("POST", url, json = body, headers = {
"Content-Type": "application/json"
})
print(response.text)
Empty
Empty
Empty
Empty