Request: POST api/v2/invitations
Security Header
Once you get the access_token pass authorization header back to all subsequent requests
- Name: Authorization
- Value: Bearer 3d48f9ccf28d47619d323ff7e4d96a59d1ac34eaf9d859c592a44cff1fb49d33
Body
email - Email of the resident
name - Name of the resident
from_time - start time of invitation
to_time - end time of invitation (optional)
property_id - Rently Property Id to which invitation to be created
{
"email": "[email protected]",
"name": "Test",
"property_id": 3343757,
"from_time": 08/20/2024,
"to_time": 12/31/2025
}
Response
Either success or error, as shown below
{
"success": true,
"message": "Invitation mail has been sent to [email protected]."
}
{
"success": false,
"message": "Email is invalid"
}