API documentation
[GET] Organizations > Newsletter Archive
API version 1.0
Overview
This API returns all the datas on iPress related to a specific brand newsletter archive.
All organizations API:
Request Link
GET: https://api.ipresslive.it/v1.0/organizations/newsletter-archive/read/
Request Parameters
Name | Description | Required |
---|---|---|
token | APIKEY (40-character alphanumeric string) that allows access to the API. | Yes |
lng |
Language in which the results will be returned.
Default value: IT Possible values:
|
No |
Request Example
GET: https://api.ipresslive.it/v1.0/organizations/newsletter-archive/read/?token={YOUR_APIKEY}&lng={LANGUAGE_CODE}
Response Elements
Name | Description | Type |
---|---|---|
Organization | Organization name of the archivated newsletter | String |
Category | Category of the archivated newsletter | String |
Title | Title of the archivated newsletter | String |
Date | Date of the archivated newsletter | Date (yyyy-mm-dd) |
Link | Link of the archivated newsletter | String |
Image | Image of the archivated newsletter | String |
Response Example
[
{
"Organization": "iPress Live",
"Category": "Lorem ipsum",
"Title": "Lorem ipsum dolor sit amet",
"Date": "2022-01-01",
"Link": "https://www.ipresslive.it/it/ipress/view/00000/",
"Image": "https://www.ipresslive.it/ipress/assets/nice/images/placeholder-gallery-ipress-live.png"
},
...
]
Response Errors
Code | Description |
---|---|
404 | Not found: invalid request |
401 | Unauthorized: APIKEY entered invalid or no longer enabled |
Response Errors Example
{
"responseCode": "404",
"responseMessage": "Not found"
}