FreJun API

Oauth 2.0 Overview
Connecting your application with FreJun using OAuth 2.0
Initiate integration with Oauth
GETObtain access token
POSTVerify Token
POSTRefresh access token
Calling APIs
POSTInitiate a call
GETCalls API
GETCall Analytics API
Webhooks
Events
Webhook verification
POSTCreate webhook API
PUTUpdate webhook API
DELETEDelete webhook API
GETRetrieve webhook API
GETRetrieve all webhooks API
Example Responses for Webhooks
DocStarBuilt with DocStar
  1. Webhooks
  2. Webhook verification

Webhook verification

Webhook Verification

To check whether the request is from FreJun,  we added a header called frejun-signature.

To verify the signature, 

  1. Create a utf-8 encoded string that concatenates together the following: requestMethod + requestUri + requestBody

  2. Create an HMAC SHA-256 hash of the resulting string using the client secret as the secret and base64 encode the result

  3. Compare the base64 encoded value  to the signature. If they're equal then this request has been verified as originating from FreJun

Was this helpful?
DocStarBuilt with DocStar
Was this helpful?