Home > URL encryption

URL encryption


Resource representation

{ "cipherUrl": {string}, "shortenerUrl": {string}, "validity": {number} }
Parameter name Value Description Notes
cipherUrl string Cipher url.
shortenerUrl string Short cipher url.
expiration number Expiration timestamp.

Insert

Authentication is required to execute this request. Please refer to Authentication for more.

Request

HTTP Request

POST https://api.agendize.com/api/2.3/cipherUrl

Request body

In the request body, supply the following properties:

{ "url": {string}, "key": {string}, "shortener": {boolean}, "validity": {number} }
Parameter name Value Description
Required Properties
key string Key of cipher.
url string URl to cipher.
shortener boolean Generate a short cipher url.
validity number Expiration delay in hours (0 = no expiration).

Response

If successful, this method returns a Cipher resource in the response body.