Table of contents
Get Subscriptions Feed
Description
The API Get Subscriptions Feed makes it possible to download the hashes of the fiscal codes of the citizens registered/deregistered to service for a specific date (UTC-YYYY-MM-DD).
The purpose of the subscription feed is to provide the central institutions with a tool to minimize phone calls to the IO infrastructure by means of a filter created by the institution itself.
The subscription feed information is updated as of the previous day. For the creation of the subscription feed, you must query the service for each day starting from 03/24/2020 up to the current date and save the data in your infrastructure.
get
The following is obtained with a correct response:
- the status code of the response is 200
- the field subscriptions and unsubscriptions is in the response body
Examples
1### REQUEST
2curl --location --request GET 'https://api.io.pagopa.it/api/v1/subscriptions-feed/2020-02-23' \
3--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__'
41### RESPONSE
2{
3"dateUTC": "2020-02-23",
4"subscriptions": [ "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" ],
5"unsubscriptions": [ ]
6}
7Useful resources
Haven't completed onboarding yet and need help?
Write an email describing your problem or question to the address areariservata@assistenza.pagopa.it.
Tell us what you think
To report problems or give feedback, leave a comment in the GitHub space of the IO app