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

Add Blocked Senders

This API operation adds blocked senders to the blocked senders list of the authenticated user.

URL / Endpoint

Need help with Postman?

POST /v1/Email/BlockedSendersAdd

Request

PropertyTypeDescription
OtherUserID integer The UserID of the user you wish to block.
Note: This is required when Nickname is not supplied.
Nickname string The nickname of the user you wish to block.
Note: This is required when OtherUserID is not supplied.
BlockBookings boolean If all emails should be blocked when creating a Escort, Webcam and Phone Chat booking set this to true.
BlockSales boolean If all emails should be blocked when Sales and Auction purchase has been made set this to true.
BlockDirectChat boolean If all emails should be blocked when a DirectChat call is made set this to true.
Reason string The reason of the block.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP POST method with serialized JSON in the request body.

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

POST method

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

Authorization: bearer {your-access-token}
{ "OtherUserID" : 123457, "BlockBookings": false, "BlockSales" : false, "BlockDirectChat" : false, "Reason": "Spammer" }

Response

PropertyTypeDescription
This will return no model just a 200 OK HTTP Status code.

Response Sample

The following example shows a sample returned by the API.

HTTP Status Code: 200 OK