API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Get Blocked Senders

This API operation returns the blocked senders list of the authenticated user.

URL / Endpoint

Need help with Postman?

GET /v1/Email/GetBlockedSendersList

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

This endpoint is using the HTTP GET method.

Headers

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.

Authentication

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.

Scopes

This endpoint requires the following scope:

Scope
account_communications

Samples

GET method

https://api-sandbox.adultwork.com/v1/Email/GetBlockedSendersList

Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
  array of aws:BlockedSenders The blocked senders and the information about the block.

Response Sample

The following example returns a sample returned by the API.

[
    {
        "BlockID": 1,
        "Nickname": "BlockedUser",
        "BlockDate": "2017-11-28T13:29:39.263",
        "BlockBookings": false,
        "BlockSales": false,
        "BlockDirectChat": false,
        "Reason": "Spammer"
    }
]
<ArrayOfBlockedSendersList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Emails">
    <BlockedSendersList>
        <BlockBookings>false</BlockBookings>
        <BlockDate>2017-11-28T13:29:39.263</BlockDate>
        <BlockDirectChat>false</BlockDirectChat>
        <BlockID>1</BlockID>
        <BlockSales>false</BlockSales>
        <Nickname>BlockedUser</Nickname>
        <Reason>Spammer</Reason>
    </BlockedSendersList>
</ArrayOfBlockedSendersList>