Get staff account

Get all available information about existing staff accounts in the store.

Request and response example

Request:

curl --location 'https://app.ecwid.com/api/v3/1003/staff/p3855016' \
--header 'Authorization: Bearer secret_ab***cd'

Response:

{
    "email": "[email protected]",
    "staffScopes": [
        "SALES_MANAGEMENT",
        "CATALOG_MANAGEMENT",
        "WEBSITE_MANAGEMENT",
        "MARKETING_MANAGEMENT",
        "REPORT_ACCESS",
        "SALES_CHANNELS_MANAGEMENT",
        "STORE_MANAGEMENT"
    ]
}

Access scopes

Requires the following access scope: read_staff

Path params

ParamTypeDescription
storeIdnumberEcwid store ID.
staffAccountIdstringStaff account ID

Query params

All query params are optional.

ParamTypeDescription
responseFieldsstringLimit JSON response by specific fields. If specified, all missing fields will be removed from the response body.
Example: ?responseFields=staffScopes

Example of using responseFields param:

curl --location 'https://app.ecwid.com/api/v3/1003/staff/p3855016?responseFields=staffScopes' \
--header 'Authorization: Bearer secret_ab***cd'
{
    "staffScopes": [
        "SALES_CHANNELS_MANAGEMENT",
        "REPORT_ACCESS",
        "CATALOG_MANAGEMENT",
        "STORE_MANAGEMENT",
        "SALES_MANAGEMENT",
        "MARKETING_MANAGEMENT",
        "WEBSITE_MANAGEMENT"
    ]
}

Headers

The Authorization header with a secret access token is required.

HeaderFormatDescription
AuthorizationBearer secret_ab***cdAccess token of the application.

Response

A JSON object with the following fields:

FieldTypeDescription
emailstringStaff account email.
staffScopesArray of stringsPermissions enabled for the staff account. See: Get staff account scopes
If empty, the account has all permissions. Check Help Center for more information.
Language
Click Try It! to start a request and see the response here!