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

Add Pictures

This API operation adds pictures to a user's private gallery.

URL / Endpoint

Need help with Postman?

POST /v1/Pictures/AddPictures

POST /v1/Groups/Pictures/AddPictures (See Group manager)

Request

PropertyTypeDescription
AlbumID integer The ID of the album the pictures needs to be placed in.
Pictures array of aws:AddPicturesInput Required. The pictures to add.

Group manager

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:

PropertyTypeDescription
UserID integer Required. The ID of a member in the group that will be impersonated for this request.

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_gallery

Samples

POST method

https://api-sandbox.adultwork.com/v1/Pictures/AddPictures

Authorization: bearer {your-access-token}
{ "AlbumID" : 1,
"Pictures" :
[
{
"Title" : "My new bikini",
"Description" : "My new and improved bikini. Do you like it?",
"Image" :"/9j/4A..."
},
{ "Title" : "Just being sexy", "Description" : "Look at all my curves", "Image" :"/9j/4B..." } ]
}

POST as Group manager

https://api-sandbox.adultwork.com/v1/Groups/Pictures/AddPictures

Authorization: bearer {your-access-token}
{ "UserID": 123456, "AlbumID" : 1,
"Pictures" :
[
{
"Title" : "My new bikini",
"Description" : "My new and improved bikini. Do you like it?",
"Image" :"/9j/4A..."
},
{ "Title" : "Just being sexy", "Description" : "Look at all my curves", "Image" :"/9j/4B..." } ]
}

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