Skip to main content

Subscribers / Get subscribers

Get subscribers

Method: POST

https://api-prod.enotifiers.com/api/V1/get_all_subscribers

Request details

API Parameters
Parameter Description Example
groupName
string
The group name to which the subscriber belongs testinGrp

Curl code

Tabbed Interface
curl --location 'https://api-prod.enotifiers.com/api/V1/get_all_subscribers' \
            --header 'accept: application/json' \
            --header 'Content-Type: application/json' \
            --header 'Authorization: Basic {{Authorization}}' \
            --data '{
              "groupName": "testinGrp"
            }'
           
        

Success response details

API Parameters
Parameter Description Example
status
String
Indicates the success status
of the API operation
success
code
String
Provides the status code indicating
the success of the request.
200
message
String
A descriptive message confirming
the success of the operation.
Subscriber added successfully
data.email
String
The email address of the subscriber example@gmail.com
data.name
String
The name of the subscriber test
data.dateTime
String
The date and time when the subscriber was added 2024-04-01 11:44:52.025573
data.source
String
The source from which the subscriber was added Enotifiers
{
    "status": "success",
    "message": "fetched all subscribers",
    "data": [
        
        {
            "email": "abc@gmail.com",
            "name": "user",
            "dateTime": "2024-04-01 11:34:15.892575",
            "source": "Enotifiers"
        },
        {
            "email": "example@gmail.com",
            "name": "test",
            "dateTime": "2024-04-01 11:44:52.025573",
            "source": "Enotifiers"
        }
    ]
}

Failure response details

API Parameters
Parameter Description Example
status
String
Indicates the overall status
of the API request.
failed
code
String
Provides the HTTP status code
corresponding to the failure.
400
message
String
Provides the reason for the error Duplicate value
data.error
String
Provides the reason for the error 'NoneType' object is not subscriptable
{
    "status": "failed",
    "error": "'NoneType' object is not subscriptable"
}
Document

Policy

Terms of Use

policy

© 2024 E-Notifiers. All rights reserved.