GET
/v1/organizations/:organizationSlug/stores/:storeId/otp-users/
Copy to clipboard
List OTP users of a PubApp
Required Permission: mad.store.otpUsers.list
List OTP users of a PubApp with pagination
Request
Add parameter in header
authorization
Example:
Authorization: Bearer <token>
storeId
string
required
page
integer
optional
limit
integer
optional
sort
string
optional
publishedApplicationId
string
optional
email
string
optional
Responses
200 Response
application/json
status
boolean
required
data
object
required
items
array [object]
required
id
string
required
organizationId
string
required
storeId
string
required
publishedApplicationId
string
required
email
string
required
allowedDownloadsNum
integer
required
lastLoginDate
string
required
lastDownloadDate
string
required
createdAt
string
required
updatedAt
string
required
totalDocs
integer
required
limit
integer
required
hasPrevPage
boolean
required
hasNextPage
boolean
required
page
integer
required
totalPages
integer
required
prevPage
integer
required
nextPage
integer
required
{
"status": true,
"data": {
"items": [
{
"id": "string",
"organizationId": "string",
"storeId": "string",
"publishedApplicationId": "string",
"email": "[email protected]",
"allowedDownloadsNum": 0,
"lastLoginDate": "string",
"lastDownloadDate": "string",
"createdAt": "string",
"updatedAt": "string"
}
],
"totalDocs": 0,
"limit": 0,
"hasPrevPage": true,
"hasNextPage": true,
"page": 0,
"totalPages": 0,
"prevPage": 0,
"nextPage": 0
}
}
404 Response
application/json
status
boolean
optional
error
object
optional
code
number
optional
message
string
optional
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}