Skip to content

Get user subscriptions

Get lists to which a user is subscribed

Endpoint URI

1
GET https://services.ownpage.fr/v1/users/subscriptions?email=EMAIL

Headers

  • X-Ownpage-Client-Token : a valid token

Query string parameters

  • EMAIL : the user's email address

Response (JSON)

The response is an array with email list ids

Example

We get the list ids for the user with email "example@mail.com"

1
curl -H "X-Ownpage-Client-Token:TOKEN" https://services.ownpage.fr/v1/users/subscriptions?email=example@mail.com

Response:

1
2
3
[
  12
]

Comments