Sumer Docs
  • 👋Welcome to Sumer
  • Overview
    • 💡What we do
    • ✨Our Features
  • Fundamentals
    • 🛠️Getting set up
    • 💻DApp Starter Kit
  • Sumer SDK
    • 🚀Quickstart
  • API Reference
    • 👁️‍🗨️Overview
    • Alerts
    • Roles
    • Users
  • Support
    • ⁉️FAQs
    • 👩‍🔧Contact our Team
    • 😁Leave Feedback
  • Use Cases
    • ⛓️Web3 projects
  • References
    • 📖Privacy Policy
    • 🍪Cookie Policy
    • 📄Terms & Conditions
Powered by GitBook
On this page

Was this helpful?

  1. API Reference

Users

Users are the main interactors with the Sumer observability and monitoring platform

PreviousRolesNextFAQs

Last updated 2 years ago

Was this helpful?

  • GET/me/dapps/{dappId}/users
  • POST/me/dapps/{dappId}/users
get

List the Users related to specified Dapp

Authorizations
Path parameters
dappIdstringRequired
Query parameters
orderBystringOptional

email | fullName | verify

orderTypestringOptional
limitnumberOptional
offsetnumberOptional
Responses
200
Dapp's Users list
application/json; charset=utf-8
400
Invalid arguments in request params or query
application/json; charset=utf-8
403
Missed authorization header token
application/json; charset=utf-8
get
GET /me/dapps/{dappId}/users HTTP/1.1
Host: api.getsumer.com
Authorization: Bearer JWT
Accept: */*
{
  "users": [
    {
      "id": "text",
      "email": "text",
      "fullName": "text",
      "isVerified": true,
      "createdAt": "text"
    }
  ],
  "total": 1
}
post

Create a User with specified info

Authorizations
Path parameters
dappIdstringRequired
Body
emailstringOptional
Responses
201
User successfully created
application/json; charset=utf-8
Responseboolean
400
Invalid arguments in request body
application/json; charset=utf-8
403
Missed authorization header token
application/json; charset=utf-8
post
POST /me/dapps/{dappId}/users HTTP/1.1
Host: api.getsumer.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 57

{
  "email": "text",
  "roles": [
    {
      "id": "text",
      "tools": [
        "text"
      ]
    }
  ]
}
true