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

Getting access to the API

Your API-Key is required for most endpoints and can be passed in as a request header or a query-string parameter. For endpoints that don't require an API-Key it will be documented in the documentation of that endpoint. Don't have an API-Key? Get one now.

Operations and Requests

Requests are made to the AdultWork.com API on HTTPS, using standard HTTP verbs and serialized JSON/XML in th request body or parameters over the query string of the URL.

The HTTP APIs are held in two environments. Use the Sandbox environment for testing purposes during development, then move to the live environment when you're ready to go into production.

You need to submit your Project to get access to live data. Submitting it is easy. Open your Project and click Start Submission.

  • Sandbox, base URI: https://api-sandbox.adultwork.com
  • Live, base URI : https://api.adultwork.com

Postman

Postman is a Google Chrome Extension that allows you to easily test and debug HTTP APIs. Its the industry standard. You can now generate Postman collections and start making requests to the AdultWork.com API in a matter of seconds. More about Postman.

Endpoints Overview

Account namespace

GET /v1/Account/GetPermissions Details
GET /v1/Account/GetServices Details
PUT /v1/Account/Update Details
PUT /v1/Account/UpdateServices Details
GET /v1/Account/VerifyCredentials Details
POST /v1/Account/VerifyEmail Details

Blogs namespace

GET /v1/Blogs/GetBlog Details
GET /v1/Blogs/GetUserBlogs Details

Bookings namespace

GET /v1/Bookings/CanBookForFreeToday Details
POST /v1/Bookings/CreateBooking Details
GET /v1/Bookings/GetBooking Details
GET /v1/Bookings/GetBookings Details
GET /v1/Bookings/GetMadeBooking Details
GET /v1/Bookings/GetMadeBookings Details
GET /v1/Bookings/GetUnreadEscortBookings Details
PUT /v1/Bookings/UpdateBooking Details
PUT /v1/Bookings/UpdateMadeBooking Details

CreditHistory namespace

GET /v1/CreditHistory/GetCreditsHistory Details
GET /v1/CreditHistory/GetCreditsTurnover Details
GET /v1/CreditHistory/GetCurrentCreditBalance Details

Dashboard namespace

GET /v1/Dashboard/GetDashboard Details

DirectCam namespace

POST /v1/DirectCam/CreateDirectCamSpecialOffer Details
POST /v1/DirectCam/DeleteDirectCamSpecialOffer Details
POST /v1/DirectCam/DeleteScheduledShow Details
GET /v1/DirectCam/GetSettings Details
GET /v1/DirectCam/GetDirectCamSpecialOffers Details
GET /v1/DirectCam/GetRecentDirectcamShows Details
GET /v1/DirectCam/GetScheduledShows Details
GET /v1/DirectCam/GetScheduledShowsForUser Details
POST /v1/DirectCam/SaveSettings Details
POST /v1/DirectCam/ScheduleShow Details
PUT /v1/DirectCam/UpdateDirectCamSpecialOffer Details
PUT /v1/DirectCam/UpdateScheduledShow Details

DirectChat namespace

GET /v1/DirectChat/GetAllPINs Details

Email namespace

POST /v1/Email/BlockedSendersAdd Details
PUT /v1/Email/BlockedSendersUpdate Details
POST /v1/Email/CustomFolders Details
GET /v1/Email/GetBlockedSendersList Details
GET /v1/Email/GetEmail Details
GET /v1/Email/GetEmails Details
GET /v1/Email/GetUnreadEmails Details
GET /v1/Email/Manage Details
POST /v1/Email/Send Details

FieldReport namespace

GET /v1/FieldReport/GetFieldreport Details

Groups namespace

GET /v1/Groups/GetGroupDetails Details
GET /v1/Groups/GetGroupMembers Details

Groups namespace (available for Group managers)

GET /v1/Groups/Account/GetServices Details
POST /v1/Groups/Account/Register Details
PUT /v1/Groups/Account/Update Details
PUT /v1/Groups/Account/UpdateServices Details
GET /v1/Groups/Bookings/GetBooking Details
GET /v1/Groups/Bookings/GetBookings Details
GET /v1/Groups/Bookings/GetMadeBooking Details
GET /v1/Groups/Bookings/GetMadeBookings Details
GET /v1/Groups/Bookings/GetUnreadEscortBookings Details
POST /v1/Groups/DirectCam/CreateDirectCamSpecialOffer Details
POST /v1/Groups/DirectCam/DeleteDirectCamSpecialOffer Details
POST /v1/Groups/DirectCam/DeleteScheduledShow Details
GET /v1/Groups/DirectCam/GetDirectCamSpecialOffers Details
GET /v1/Groups/DirectCam/GetSettings Details
POST /v1/Groups/DirectCam/SaveSettings Details
POST /v1/Groups/DirectCam/ScheduleShow Details
PUT /v1/Groups/DirectCam/UpdateDirectCamSpecialOffer Details
PUT /v1/Groups/DirectCam/UpdateScheduledShow Details
POST /v1/Groups/Email/CustomFolders Details
GET /v1/Groups/Email/GetEmail Details
GET /v1/Groups/Email/GetEmails Details
GET /v1/Groups/Email/GetUnreadEmails Details
GET /v1/Groups/Email/Manage Details
POST /v1/Groups/Email/Send Details
GET /v1/Groups/Interview/GetInterview Details
GET /v1/Groups/Interview/GetVitalStats Details
PUT /v1/Groups/Interview/UpdateInterview Details
PUT /v1/Groups/Interview/UpdateVitalStats Details
GET /v1/Groups/PhoneChat/GetSettings Details
GET /v1/Groups/PhoneChat/MadeBookingDetails Details
GET /v1/Groups/PhoneChat/MadeBookings Details
GET /v1/Groups/PhoneChat/ReceivedBookingDetails Details
GET /v1/Groups/PhoneChat/ReceivedBookings Details
POST /v1/Groups/PhoneChat/SaveSettings Details
POST /v1/Groups/Pictures/AddFreePictures Details
POST /v1/Groups/Pictures/AddPictures Details
POST /v1/Groups/Pictures/CreateAlbum Details
POST /v1/Groups/Pictures/DeletePictures Details
GET /v1/Groups/Pictures/GetAlbums Details
GET /v1/Groups/Pictures/GetGallery Details
POST /v1/Groups/Pictures/RemoveAlbum Details
POST /v1/Groups/Pictures/RemovePricePlan Details
PUT /v1/Groups/Pictures/UpdateAlbum Details
PUT /v1/Groups/Pictures/UpdatePricePlans Details
GET /v1/Groups/Webcam/MadeBookingDetails Details
GET /v1/Groups/Webcam/MadeBookings Details
GET /v1/Groups/Webcam/ReceivedBookingDetails Details
GET /v1/Groups/Webcam/ReceivedBookings Details

HotLists namespace

POST /v1/HotLists/AddUserToHotList Details
GET /v1/HotLists/GetHotList Details
GET /v1/HotLists/GetHotListPopular Details
GET /v1/HotLists/GetHotLists Details
POST /v1/HotLists/RemoveHotList Details
POST /v1/HotLists/RemoveUserFromHotList Details

Interview namespace

GET /v1/Interview/GetInterview Details
GET /v1/Interview/GetQuestions Details
GET /v1/Interview/GetVitalStats Details
PUT /v1/Interview/UpdateInterview Details
PUT /v1/Interview/UpdateVitalStats Details

Lists namespace

GET /v1/Lists/GetAlternativePractices Details
GET /v1/Lists/GetAspectRatio Details
GET /v1/Lists/GetBustSizes Details
GET /v1/Lists/GetContentGenders Details
GET /v1/Lists/GetCounties Details
GET /v1/Lists/GetCountries Details
GET /v1/Lists/GetCurrencies Details
GET /v1/Lists/GetDirectCamCategories Details
GET /v1/Lists/GetDressSizes Details
GET /v1/Lists/GetEnjoys Details
GET /v1/Lists/GetEthnicity Details
GET /v1/Lists/GetGenders Details
GET /v1/Lists/GetGroupTypes Details
GET /v1/Lists/GetMovieCategories Details
GET /v1/Lists/GetMovieFormats Details
GET /v1/Lists/GetOrientations Details
GET /v1/Lists/GetOtherServices Details
GET /v1/Lists/GetRegions Details
GET /v1/Lists/GetTimeZones Details
GET /v1/Lists/GetTopList Details

Movie namespace

GET /v1/Movie/GetMovieDetails Details
GET /v1/Movie/GetRentalDetails Details

Newsfeed namespace

GET /v1/Newsfeed/GetUserSummary Details

PhoneChat namespace

POST /v1/PhoneChat/AcceptReceivedBooking Details
POST /v1/PhoneChat/CancelMadeBooking Details
POST /v1/PhoneChat/CancelReceivedBooking Details
POST /v1/PhoneChat/ConfirmMadeBooking Details
POST /v1/PhoneChat/CreateBooking Details
POST /v1/PhoneChat/DeleteMadeBookings Details
POST /v1/PhoneChat/DeleteReceivedBookings Details
GET /v1/PhoneChat/GetSettings Details
GET /v1/PhoneChat/GetUserBookingRequirements Details
GET /v1/PhoneChat/MadeBookingDetails Details
GET /v1/PhoneChat/MadeBookings Details
GET /v1/PhoneChat/ReceivedBookingDetails Details
GET /v1/PhoneChat/ReceivedBookings Details
POST /v1/PhoneChat/ReInvite Details
POST /v1/PhoneChat/RejectReceivedBooking Details
POST /v1/PhoneChat/RescheduleMadeBooking Details
POST /v1/PhoneChat/SaveSettings Details

Pictures namespace

POST /v1/Pictures/AddFreePictures Details
POST /v1/Pictures/AddPictures Details
POST /v1/Pictures/CreateAlbum Details
POST /v1/Pictures/DeletePictures Details
GET /v1/Pictures/GetAlbums Details
GET /v1/Pictures/GetFreeGallery Details
GET /v1/Pictures/GetGallery Details
GET /v1/Pictures/GetPricePlanDurations Details
GET /v1/Pictures/GetPricePlans Details
PUT /v1/Pictures/MovePictures Details
POST /v1/Pictures/RemoveAlbum Details
POST /v1/Pictures/RemovePricePlan Details
PUT /v1/Pictures/UpdatePricePlans Details
PUT /v1/Pictures/UpdateAlbum Details

Profile namespace

GET POST /v1/profile/GetProfileDetails Details
GET POST /v1/profile/GetRatings Details

Search namespace

GET /v1/Search/SearchBlogs Details
GET /v1/Search/SearchFieldReports Details
GET /v1/Search/SearchGroups Details
GET /v1/Search/SearchMovieCollections Details
GET /v1/Search/SearchMovies Details
GET /v1/Search/SearchNewsFeeds Details
GET /v1/Search/SearchPictures Details
GET /v1/Search/SearchProfiles Details
GET /v1/Search/SearchRentals Details
GET /v1/Search/SearchTours Details

Tours namespace

GET /v1/Tours/GetTour Details

Webcam namespace

POST /v1/Webcam/AcceptReceivedBooking Details
POST /v1/Webcam/CancelMadeBooking Details
POST /v1/Webcam/ConfirmMadeBooking Details
POST /v1/Webcam/CancelReceivedBooking Details
POST /v1/Webcam/CreateBooking Details
POST /v1/Webcam/DeleteMadeBookings Details
POST /v1/Webcam/DeleteReceivedBookings Details
GET /v1/Webcam/GetUserBookingRequirements Details
GET /v1/Webcam/MadeBookingDetails Details
GET /v1/Webcam/MadeBookings Details
GET /v1/Webcam/ReceivedBookingDetails Details
GET /v1/Webcam/ReceivedBookings Details
POST /v1/Webcam/ReInvite Details
POST /v1/Webcam/RejectReceivedBooking Details
POST /v1/Webcam/RescheduleMadeBooking Details

Request Headers

X-ApiKey

You must supply your API Key with every request that does not require an access token. It can be passed to the API using this request header or the query-string.

X-ApiKey: {your-api-key}

X-ApiSecret

The API Secret is used to gain access to our API for applications that you cannot prove the origin of. You must supply your API Secret for every request that comes from a server or app. The secret can call the API from every origin so it is extremely important that it is not compromised.

Never send your secret in code that is exposed to the client. This applies to all methods of code that are not secured like client-side code (such as HTML or JavaScript) or native apps (such as iOS, Android or Windows desktop apps) that could be decompiled.

We recommend that API Secrets should only be used directly from your app's servers in order to provide the best security. For native apps, we suggest that the app communicates with your own server and the server then makes the API requests to our API using the Secret.

If your API Secret is compromised, you should reset it immediately. Open your Project and click the Renew button next to API Secret. You will have to change the Secret in your code.

X-ApiSecret: {your-api-secret}

Authorization

Some endpoints require the use of an access token and not an API-Key. The documentation of the endpoint will state that. To get an access token please read the Access tokens page. You can use it by sending an Authorization header in the request.

Authorization: bearer {access_token}

X-CaseType

Be default the API will return the JSON models in PascalCase. You can request a different one by adding X-CaseType in the header. Possible values are lowercase, uppercase and camelcase.

X-CaseType: lowercase

Content-Type

When using HTTP POST you need to specify the Content-Type of your request as application/json.

Content-Type: application/json

Accept

The API will respond in JSON or XML, depending on the specified Accept header. Possible values are application/json and application/xml.

Accept: application/xml