Inbox Recipients
An InboxRecipient is a person who has had an inbox shared with them via email invitation.
List Inbox Recipients
SDK Method
inbox_recipient.List()
Return Values
Returns a *inbox_recipient.Iter and an error. Range over All() to receive files_sdk.InboxRecipient values and errors.
Check each loop error before using its resource. Next() and Err() remain supported.
Authorization Requirement
Available to all authenticated keys or sessions.
InboxRecipientListParams Fields
| Field | Description |
|---|---|
| InboxId int64 Required | List recipients for the inbox with this ID. |
Additional Arguments
Create Inbox Recipient
SDK Method
inbox_recipient.Create()
Return Values
Returns a files_sdk.InboxRecipient value and an error.
Authorization Requirement
Available to all authenticated keys or sessions.
InboxRecipientCreateParams Fields
| Field | Description |
|---|---|
| InboxId int64 Required | Inbox to share. |
| Recipient string Required | Email address to share this inbox with. |
| Name string | Name of recipient. |
| Company string | Company of recipient. |
| Note string | Note to include in email. |
| ShareAfterCreate boolean | Set to true to share the link with the recipient upon creation. |
The InboxRecipient Object
Some of the methods above return a InboxRecipient object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| Company string | The recipient's company. |
| Name string | The recipient's name. |
| Note string | A note sent to the recipient with the inbox. |
| Recipient string | The recipient's email address. |
| SentAt date-time | When the Inbox was shared with this recipient. |