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

Add HotList

This API operation adds a new hotlist.

URL / Endpoint

Need help with Postman?

POST /v1/HotLists/AddHotList

Request

PropertyTypeDescription
Name string Required. The name of the hotlist to add.
Members integer array The UserIDs to be added to the hotlist.

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
profile_hotlist

Samples

POST method

https://api-sandbox.adultwork.com/v1/HotLists/AddHotList

Authorization: bearer {your-access-token}
{
"Name" : "My hotlist",
"Members" : [ 1,2,3 ]
}

Response

PropertyTypeDescription
  string The ID of the newly added hotlist

Response Sample

The following example shows a sample id returned by the API.


"1"

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</string>