API.authSubscriberSession
This action allows you to create a subscriber session to bypass the subscriber login panel when opening a publication.
Request
The API key must have the subscribers_read access right.
| Name | Type | Description |
|---|---|---|
| apikey[required] | string | API public key |
| signature[required] | string | Signature of the request. See how to sign your requests. |
| expires | timestamp | UNIX timestamp for request expiration. |
| output | string | Format of the response. Either XML (default), JSON or PHP. |
| subscription_id[required] | integer | ID of the subscription. |
| login[required] | string | Login of the subscriber you wish to delete. |
Response
This request sends the character string ok if successful.
Example responses
<response>
<requestid>...</requestid>
<requests>...</requests>
<status>ok</status>
<content>
<ID>...</ID>
<SubscriptionID>...</SubscriptionID>
<SubscriberLogin>...</SubscriberLogin>
</content>
</response>
{
"response": {
"requestid": ...,
"requests": ...,
"status": "ok"
"content": {
"ID": ...,
"SubscriptionID": ...,
"SubscriberLogin": ...
}
}
}
[
"response" => [
"requestid" => ...,
"requests" => ...,
"status" => "ok"
"content" => [
"ID" => ...,
"SubscriptionID" => ...,
"SubscriberLogin" => ...
]
]
]
Error codes
See the error code section.
