11 Open an access to an end user
This is a series of articles dedicated to demonstrating how to get acquainted withOpenprovider SSL API methods. If you want to go the beginning of this guide, please navigate to the article "1 How to choose a product".
To get more information about our API in general, pleaseuse our documentation portalas your reference.
You can provide an access for a particular order to your end user by generating a link that includes a token. The following link redirects user to SSL Panel. Please note the link has an expiration date.
Customer will see SSL Panel with an order opened.
Customer will see SSL Panel with an order opened.
You can read more about this functionality here.
POST {base_url}/ssl/orders/{id}/otp-tokens
REQUEST VALUES
Name |
Type |
Values |
Description |
|---|---|---|---|
| id | string | numeric value |
REQUEST EXAMPLE
curl -X POST \
https://api.openprovider.eu/v1beta/ssl/orders/31234/otp-tokens \
-H 'Authorization: Bearer 2831a37fb8*******90b5aac822' \
-H 'Content-Type: application/json' \
RESPONSE EXAMPLE
{
"code": 0,
"desc": "",
"data": {
"uri": "https://sslpanel.io/auth-order-otp-token",
"token": "RxFs3X_We6V12m0toZxmNuakfNm999BI",
"expire_at": "2023-11-27 09:01:05"
}
}
RESPONSE VALUES
Name |
Values |
Description |
|---|---|---|
|
code |
numeric |
API Result with code returned. |
| 1. data | set of values | Cancel Order Response Data. |
| 1.1 expire_at | integer | Link expiration date. |
| 1.2 token | string | Individual token. |
| 1.3 uri | string | Individual link. |
| desc | string | Description. |
| maintenance | True or False. | The maintenance: True or False. |
| 2. warnings | Array of elements | An array of boolean and string data returned if Openprovider is under maintenance mode. |
| 2.1 code | code digits | Warning code digits. |
| 2.2 data | string | Data value returned. |
| 2.3 desc | string | Description value returned. |
We successfully generated a link for an order and can provide it to end-user where customer could track status of an order, change validation methods (if certificate yet not active), communicate with CA personnel etc.
If you or your customer no longer need a certificate it could be cancelled:
"12 Cancelling SSL Order".
If you or your customer no longer need a certificate it could be cancelled:
"12 Cancelling SSL Order".