Skip to end of banner
Go to start of banner

SIL API Integration

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This feature is available for the cloud environment only!

As you know, on cloud, we need to sign the request using a JWT in order for them to be considered valid.

Standard JWT tokens are only valid for 15 minutes. There were cases when the requests needed to be ran periodically and the time limitation was not very comfortable. Together with some of our customers we have decided to implement a way in which tokens we can generate tokens with bigger availability, so we came up with the next solution: the SIL API Tokens.

These tokens can be generated by administrators from the SIL API Integration page, with a provided availability. The tokens will be valid by the end of the day set in their configuration.

The tokens can be viewed, updated or deleted.

If you press the “View” icon, a dialog box containing the SIL token generated will appear. It is an encoded string which we’ll decode when you run your request and which will give you access to our resources for the granted amount of time set in the configuration.

The tokens can be used, for now, only for the SIL Webhooks calls. In order to use them, you must set the query parameter silToken to the value of the token you need to use, instead of using the JWT token. Example:

https://pscloud.cprime.com/refapp/rest/keplerrominfo/refapp/latest/webhooks/test/run?silToken=7767d0e4b56d3890aaa218425a5e965e6Po9/wLS$nexdaJ1bFpwTJvYCZ2TQM1

instead of

https://pscloud.cprime.com/refapp/rest/keplerrominfo/refapp/latest/webhooks/test/run?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJjb20ua2VwbGVycm9taW5mby5qaXJhLnBsdWdpbnMuamp1cGluIiwiY2xpZW50S2V5IjoiZTAxMjEwMDAtYWViNC0zMDcwLWE3YjUtNzYyODAxZGE3NzlkIiwiaXNzIjoiY29tLmtlcGxlcnJvbWluZm8uamlyYS5wbHVnaW5zLmpqdXBpbiIsImV4cCI6MTU5MTg4NDYwOSwiaWF0IjoxNTkxODgzNzA5fQ.pO-0EK_-WfczydvCrjBZ7iZjO5tV5e1zj0199xQUxVk
  • No labels