This API operation gets the email of the authenticated user.
GET
/v1/Email/GetEmail
GET
/v1/Groups/Email/GetEmail
(See Group manager)
Property | Type | Description |
---|---|---|
EmailID |
integer | Required. The ID of the email. |
If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.
The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint requires the following scope:
Scope |
---|
account_communications |
Property | Type | Description |
---|---|---|
EmailID |
integer | The ID of the email. |
Read |
integer | Indicates if this email has been read. |
Subject |
string | The subject of the email. |
Body |
string | The body of the email. |
SentDate |
datetime | The date when this email has been sent. |
OtherUserID |
integer | The ID of the user who have sent the email. |
OtherNickname |
string | The nickname of the user who have sent the email. |
OtherRatings |
aws:ProfileRatings | The member's AdultWork.com Ratings score in detail. |
OtherLogins |
integer | The amount of other logins the user who have sent the email has. |
OtherHasNegativeAlias |
boolean | Indicates if the other login of the user who have sent the email has a negative alias. |
FolderID |
integer | The ID of the folder the email is currently in. |
Disclaimer |
string | The disclaimer of AdultWork.com which needs to be displayed below the body. |
The following example shows a sample returned by the API.