Console.WriteLine($"Failed to invite member. Status: {response.StatusCode}");
Console.WriteLine($"Response: {responseBody}");
}
}
catch(HttpRequestExceptione)
{
Console.WriteLine($"Request error: {e.Message}");
}
}
}
Response
A successful request returns a 200 OK status. The response body contains the invited user’s profile wrapped in a data object, with a status of invited until they accept.
{
"data":{
"id":1005,
"email":"charlie.brown@example.com",
"username":null,
"first_name":"Charlie",
"last_name":"Brown",
"full_name":"Charlie Brown",
"profile_pic":null,
"country_id":1,
"is_active":false,
"last_login_at":null,
"activated_at":null,
"type":null,
"created_at":"2025-01-15T10:00:00Z",
"updated_at":"2025-01-15T10:00:00Z",
"timezone":"America/New_York",
"UTC_offset":"-05:00",
"status":"invited",
"role":"standard",
"invited_by":501,
"approved_at":"2025-01-15T10:00:00Z"
}
}
If the email already belongs to an existing member, you’ll get a 422 Unprocessable Entity error.
Tallyfy lets admins (and optionally Standard members) invite new users by clicking the Invite+ button found throughout the app and entering an email address along with a name and role assignment after which the invitee receives an email to activate their account and join the organization.
Tallyfy’s API lets administrators change any organization member’s role to admin or standard or light by sending a PUT request with the new role value to the member’s role endpoint and returning the updated member profile on success.
Tallyfy’s API lets you add external guests to your organization via a POST request with just an email address (plus optional profile fields like name and company) and it automatically links existing global guests instead of creating duplicates.