Endpoint: !initCustomerSession

https://secure.trust-provider.com/products/download/!initCustomerSession

The !initCustomerSession API action creates a session, enabling the display of the Validation Manager tool to the end user for the associated certificate order on your side.

Use the POST method for this endpoint.

Submit parameters in the x-www-form-urlencoded format.

The following table lists the required and optional parameters.

Parameter Type Required/Optional Max. Length Description

loginName

string

required

64 chars

Your account username.

This value is case sensitive.

loginPassword

string

required

128 chars

Your account password.

This value is case sensitive.

orderNumber

string

required

64 chars

The order number for which you want the Validation Manager tool to be displayed.

responseFormat

char

optional

1 char

Specifies the response format.

The possible options are:

  • 0 = Newline-delimited parameters (default)

  • 1 = URL-encoded parameters

Sample request

curl --location --request POST 'https://secure.trust-provider.com/products/!initCustomerSession' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=yourLoginName' \
--data-urlencode 'loginPassword=yourPassword' \
--data-urlencode 'orderNumber=yourOrderNumber'

Success response

errorCode=0&SID=aBCDEpZYXWjcmSE