mono-logo

Re-authorisation

Last updated May 19th, 2022

post api.withmono.com/accounts/{id}/reauthorise
v1.0

Reauth code is a mono generated code for the account you want to re-authenticate, which must be requested by your server and sent to your frontend where you can pass it to mono connect widget.

Mono connect widget will ask for the required information and re-authenticate the user's account and notify your server.

Kindly Note

Kindly Note

Please note that this Reauth code/token expires in 10mins.

Passing the code to mono widget.

Request

12345
const connect = new Connect({
	config
});

connect.reauthorise('VwxcfeLRZvq1UlD5WiuN');

Once the reauthorisation is complete, the mono.events.account_reauthorized event will be sent to your webhook, following with mono.events.account_updated once the synced data is available.

Path Params
Headers

Request

123
curl --request POST \
  --url https://api.withmono.com/accounts/id/reauthorise \
  --header 'accept: application/json'

Response

Choose an option from the drop down or click one of these buttons to see an example:

Did this page help you?