TuCloudAPI authrequest
Appearance
TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: SuperRoot, Operator, Client.
Description
Ask for a magic-link e-mail. PUBLIC: needs no ukey and no session, because neither exists yet. Relayed to magiclogin, whose answer is passed through unchanged -- including the fake session code it returns for an address that does not exist, so the form cannot be used to discover which e-mails are registered.
Call
https://tucloudapi.7kas.com:9087/tucloud?func=authrequest&ukey=YOUR_KEY
GET, or POST with the parameters form-urlencoded in the body. Requires the ukey parameter.
Parameters
| Parameter | Type | Required | Default | Meaning |
|---|---|---|---|---|
email |
string | Yes | — | The e-mail to send the link to. |
Example
https://tucloudapi.7kas.com:9087/tucloud?func=authrequest&email=alguien@example.com
Response
{ok, status, session_code, expires_in}. Poll session_code with authpoll.
Back to TuCloudAPI