Using Callback Event with REST API Listener

0 votes

Hey guys.


I'm developing a connector with Digibee as listener of the Callback Event Trigger, although event after providing the API Key in the Callback Key field, the Callback event is getting 401 Unauthorized.

Is there a cURL model of the request sent from the Callback Event application so there I can edit the header tag to accept as API Key?

Reply to: Using Callback Event with REST API Listener

0 votes

Hi Emerson,


Thanks for your post! When a callback event gets triggered, OneSpan Sign callback service will make a POST call to your listener endpoint, with the callback key as the authorization header, this call looks like the below:


HTTP Request

POST {your_callback_url}

HTTP Headers

Authorization: Basic {your_callback_key}
Content-Type: application/json

Request Payload Example



To note, the callback key should be the credentials used to access Digibee system, instead of the OneSpan Sign API Key.




Duo Liang OneSpan Evangelism and Partner Integrations Developer

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off