Skip to main content

authSubscriberSession

This action allows you to create a subscriber session to bypass the subscriber login panel when opening a publication.

info

The API key must have access rights to subscribers_read.

Request​

NameTypeDescription
apikeyRequiredstringAPI public key
signatureRequiredstringSignature of the request.
expirestimestampUNIX timestamp for request expiration (GMT)
outputstringFormat of the response. Either XML (default), JSON or PHP
subscription_idRequiredintegerID of the folder
loginRequiredstringLogin of the subscriber
lifetimeintegerSession validity period in seconds

Response​

This method returns a Subscriber Session.

NameTypeDescription
IDstringUnique session key
SubscriptionIDintegerUnique identifying key of the subscriber's folder
SubscriberLoginstringLogin of the subscriber

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "YlZVnX",
"requests": 216,
"content": {
"ID": "7a5ed85cc34e7f20e953c6a1fbdbd400",
"SubscriptionID": 4540112,
"SubscriberLogin": "leia"
}
}
}