Dmail Product Docs
  • Introduction
  • overview
    • Dmail Network
    • Brand Assets
    • Roadmap
    • Points Rewards Program
  • products
    • Dmail DApp
      • Email Addresses
      • NFT Domains
      • Plans & Points
      • Cross-chain Messaging
      • Subscription & Notification
    • Subscription Hub
      • Dashboard
      • Settings Management
      • Subscriber Management
      • Message Push
      • Content Management
      • Point Management
    • Marketing Hub
  • Get started
    • Dmail DApp User Guide
      • How to Use Dmail for Sending and Receiving Emails
        • Logging In
        • Viewing Your Email Address
        • Sending Emails
        • Checking Emails
      • How to Acquire an NFT Domain
        • Obtaining an 8-20 digit NFT Domain for Free through Activities
      • How to Earn and Import Points
      • How to Set Up Notifications/Forwarding and Perform Data Monitoring
        • Setting Up Browser Notifications
        • Setting Up Email Forwarding
        • Setting Up Telegram Forwarding
      • How to Subscribe to Projects
      • B² Haven Testnet User Guide
    • Subscription Hub Project Guide
      • How to Set up Your Project on the Subscription Hub
      • How to Send Subscription Notifications
      • How to Manage User Tags
  • Tokenomics
    • Get $DMAIL
    • Staking $DMAIL
    • $DMAIL Tokenomics
  • developers
    • Subscription Hub SDK
      • Import/Verify Identity
      • Definition of Common Parameters
      • Interface List
        • Query Registration Project Details
        • Query the Project Subscriber List
        • Sending Messages to Subscribers
        • Send an Email to the Specified Address
        • View the Record of Sent Messages
        • View the Records of Sent Emails
  • RESOURCES
    • Blog
    • Mainnet
    • Ambassadors
    • Subscribe to Dmail
    • Bug Bounty Program
    • Contact Us
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  1. developers
  2. Subscription Hub SDK
  3. Interface List

Query the Project Subscriber List

Request URL: `http://{url}/platform/api/v1/subscriptions/userRecordList?user_id=x&app_id=xxx&pageSize=100&page=0'

Request Method: GET

Parameters: user_id, an integer representing the user ID app_id, an integer representing the project ID pageSize, an integer representing the number of subscribers returned per page, an integer representing the page index for the subscriber list query

Request Example:

curl --location --request GET 'http://{url}/platform/api/v1/subscriptions/userRecordList?user_id=x&app_id=xxx&pageSize=0&page=0' \
--header 'id: 100089' \
--header 'token: xxxx'
 \


Correct Response:
{
	"code": 1,
	"data": {
		"list": [
			{
				"id": 1,
				"create_at": "2022-08-03 07:59:08"
				"address": "xxx"
			},
			...
		],
		"total": 3,
    		"page": 0,
    		"pageSize": 0
	},
	"msg": "Process success",
  	"success": true
}

Incorrect Response
{
	"code": 0,
	"data": {},
	"msg": "Process failed",
  	"success": false
}
PreviousQuery Registration Project DetailsNextSending Messages to Subscribers

Last updated 1 year ago