Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Returns the status of a user invite.
213723
The ID of an invite.
id,type,name
A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.
Be aware that specifying this parameter will have the effect that none of the standard fields are returned in the response unless explicitly specified, instead only fields for the mini representation are returned, additional to the fields requested.
Returns an invite object
An unexpected client error.
curl -i -X GET "https://api.box.com/2.0/invites/213723" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.invites.getInviteById(invitation.id);
client.invites.get_invite_by_id(invitation.id)
await client.Invites.GetInviteByIdAsync(inviteId: invitation.Id);
try await client.invites.getInviteById(inviteId: invitation.id)
{
"id": "11446498",
"type": "invite",
"actionable_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"created_at": "2012-12-12T10:53:43-08:00",
"invited_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"invited_to": {
"id": "11446498",
"type": "enterprise",
"name": "Acme Inc."
},
"modified_at": "2012-12-12T10:53:43-08:00",
"status": "pending"
}