Comment on page
Authentication
Authentication
In order to use Imber API you must have a token for authentication, in order to get your unique TOKEN you can follow instructions below.
- Go to Your Dashboard
- Go to Setting
- Go to Developers Section
- Click on generate your Token
- Copy your unique TOKEN and use it
for new visitor simply create a contact and get token Or for existing visitors you can follow instructions below:
first generate
contact_hash
Node.js
const jwt = require('jsonwebtoken');
const contact_hash = jwt.sign({contactId: visitorId}, identityVerificationKey);
then send
cantact_hash
to the following end-pointpost
https://widget.imber.live
/contact/sdk
get token for existing visitors
Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. The name “Bearer authentication” can be understood as “give access to the bearer of this token.” The client must send this token in the
Authorization
header when making requests to protected resources:Authorization: Bearer <token>
Last modified 2yr ago