11 Open an access to an end user

This is a series of articles dedicated to demonstrating how to get acquainted with Openprovider 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, please use our documentation portal as 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.
mceclip0.png
You can read more about this functionality here.
Entering Geo Fence iconUse endpoint path below. Base URL is determined by both the target environment and API version.
POST {base_url}/ssl/orders/{id}/otp-tokens

REQUEST VALUES

Name

Type

Values

Description

id  string numeric value

Openprovider Order ID.


REQUEST EXAMPLE

curl -X POST \
https://api.cte.openprovider.eu/v1beta/ssl/orders/31234/otp-tokens \
-H 'Authorization: Bearer deb4bf804928981b018caf45c3c4142b' \
-H 'Content-Type: application/json' \
-d '{
"id": 1
}'

RESPONSE EXAMPLE

{
"code": 0,
"data": {
"uri": "http://sslinhva.cte.openprovider.eu/auth-order-otp-token",
"token": "RxFs3X_We6V12m0toZxmNuakfNm999BI",
"expire_at": "2019-06-28 21:11:11"
"desc": ""
}

RESPONSE VALUES

Name

Values

Description

code

numeric

API Result with code returned.
0 = Success with no errors.

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".
Was this article helpful?
0 out of 0 found this helpful