Get public (non-sensitive) details about an invite
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api.nimles.com/identity/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Invites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/details"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://api.nimles.com/identity/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Invites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/details';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.nimles.com/identity/api/tenant/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/Invites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/details \ --header 'Authorization: Bearer <token>'Gets public (non-sensitive) details about an invite. Intended for the invite-accept landing page so that the recipient can see what they are being invited to before signing in.
Signed in, the caller is told what it can do with the invite (callerStatus), from its account in its home
tenant. Anonymous callers and clients are told whether the address has an account in the invite’s tenant, unless
signInTenantId names the platform: whether an address has a platform account is never told
(see Nimles.Identity.Api.Services.InviteDetailsReader).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The unique identifier of the invite.
Your tenant id.
Query Parameters
Section titled “Query Parameters”The tenant the invitee signs in to: the invite’s (the default) or the platform’s.
Header Parameters
Section titled “Header Parameters”The invite’s code (Nimles.Identity.Api.Controllers.InvitesController.InviteCodeHeader), from the accept link. The inviter’s name and message are told only to one who holds it or is signed in with the invited address, not to anyone who has only the id.
Responses
Section titled “Responses”OK
object
Example generated
{ "email": "example", "roleDefinitionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "roleName": "example", "tenantId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "tenantName": "example", "organizationId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "organizationName": "example", "resourceGroupId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "invitedByName": "example", "message": "example", "status": "example", "expiresAt": "2026-04-15T12:00:00Z", "isExpired": true, "accountExists": true, "ssoAvailable": true, "callerStatus": "example"}Unauthorized: no bearer token, or one that is expired or not for this API.
Forbidden: the caller holds no role that allows this action at this scope. The body is empty, or a problem whose detail names the action.
An RFC 9457 problem.
object
Example generated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Not found: no such item in the tenant.
An RFC 9457 problem.
object
Example generated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}