Make a request ยป

SubscriberService.GetSubscriberIdByEmail

Gets a list of subscriberIds with a given email

2017-10-25 v3: Returns a list of subscriberIds instead of a singel subscriberId.

See code examples


URL Parameters

Http verb: POST
URI: Full url: http://se.api.anpdm.com/subscribers/v3/email
URL parameters:
Not used

Body parameters

Body parameters
emailStringSubscriber email
Body Example

"fake@apsis.com"
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">fake@apsis.com</string>
                

Response

Body parameters
returns
Subscriber IDs

Code Int32 The response Code.
Message String The response Message.
Result List
<Int64>
The response Result.
Body Example


{
    "Code": 1,
    "Message": "OK",
    "Result": [
        123456,
        234567,
        345678,
        456789
    ]
}
  <Code>1</Code>
  <Message>OK</Message>
    <a:long>123456</a:long>
    <a:long>234567</a:long>
    <a:long>345678</a:long>
    <a:long>456789</a:long>
  </Result>
</Response>
                

Help

Code examples


curl -i -X POST
-H 'Content-type: application/json'
-H 'Accept: application/json' 
-H 'Authorization: basic $api_key_64baseformat'
-d '"fake@apsis.com"'
url http://se.api.anpdm.com/subscribers/v3/email