Obtain Public Key for Sign Placeholder
Obtain the public key that is needed to verify the signature that is used by the placeholder {sign()} function.
GET/api/v3/signing/publickey
Obtaining the Public Key for the Placeholder {sign()} Function
Obtain the public key that is needed to verify the signature that is used by the placeholder {sign()} function.
URL Parameters
This endpoint has no path or query parameters.
Example URL
Request URL
https://app.passcreator.com/api/v3/signing/publickey
Authorization
- Name
Authorization- Type
- string
- (mandatory)
- Description
HTTP Header containing your API key. Replace yourApiKeyHere with your actual API key.
Example HTTP Header
HTTP header
GET /api/v3/signing/publickey HTTP/1.1
Host: app.passcreator.com
Authorization: yourApiKeyHere
Returned Values
On success you'll receive a JSON array that contains the public key in the publicKey key of the data object:
- Name
publicKey- Type
- string
- (mandatory)
- Description
The public key that you need to verify a signature from the placeholder {sign()} function.
Example Response
Success Response
{
"statusCode": 200,
"success": true,
"description": "Success",
"errors": [],
"count": 1,
"responseMetaData": null,
"data": {
"publicKey": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpP9pRdcwFoOrhPJCX3WnH8jUpcLe\nP2PxZvOO4Y4hrGVpD8QpISTNPdVYZZBH2x4dlGuHYHMkYph5DqwvzjY00Q==\n-----END PUBLIC KEY-----\n"
}
}
Code Examples
Here you can find examples of how to call this endpoint using different programming languages and tools.
Replace yourApiKeyHere with your actual API key.
Request Examples
GET
/api/v3/signing/publickeycurl -X GET "https://app.passcreator.com/api/v3/signing/publickey" \
-H "Authorization: yourApiKeyHere"