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

Get Permissions

This API operation gets the current scopes that the user has granted for your project. You can always check this before trying to call an endpoint that requires specific scopes.

URL / Endpoint

Need help with Postman?

GET /v1/Account/GetPermissions

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 does not require any additional scopes.

Samples

GET method

https://api-sandbox.adultwork.com/v1/Account/GetPermissions
Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
Permissions array of aws:Permissions The scopes the user has granted access for.

Response Sample

The following example returns the permissions of a user.

{
    "Permissions": [
        {
            "Permission": "userid",
            "Status": "granted"
        },
        {
            "Permission": "nickname",
            "Status": "granted"
        },
        {
            "Permission": "profile_about",
            "Status": "granted"
        }
] }