checkSubscriberSession
This action allows you to check the validity of a subscriber session.
info
The API key must have access rights to subscribers_read.
Request
| Name | Type | Default | Description |
|---|---|---|---|
apikeyRequired | string | API public key | |
signatureRequired | string | Signature of the request. See how to sign your requests | |
expires | timestamp | UNIX timestamp for request expiration (GMT) | |
output | string | Format of the response. Either XML (default), JSON or PHP | |
session_idRequired | string | Unique session key |
Response
This method returns a Subscriber Session.
| Name | Type | Default | Description |
|---|---|---|---|
| ID | string | Unique session key | |
| SubscriptionID | integer | Unique identifying key of the subscriber's folder | |
| SubscriberLogin | string | Login of the subscriber |
Example response
JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "TyAOnC",
"requests": 217,
"content": {
"ID": "7a5ed85cc34e7f20e953c6a1fbdbd400",
"SubscriptionID": 4540112,
"SubscriberLogin": "leia"
}
}
}