Avibra Integration API
1.0.1
  • 1.0.2
  • 1.0.1
Home
Home
1.0.1
  • 1.0.2
  • 1.0.1
1.0.1
  • 1.0.2
  • 1.0.1
  1. Avibra
  • Avibra
    • Embedded UX/UI
    • Security
      • Authentication API
      • LinkToken API
    • Benefits
      • Get Benefits With Status
    • User Management
      • Create User
      • Update User
      • Cancel User
      • Prefil User
    • Webhook
      • Webhook API (provided by partner)
    • Export Data
      • Open API Spec
      • API Coverages
  • Schemas
    • Schemas
      • eventInfo
      • userInfo
      • addressInfo
      • benefitwithstatusInfo
      • benefitwithstatusInfos
      • errorInfo
      • updateuserInfo
      • linktokenInfo
      • linktokenesponseInfo
      • accesstokenInfo
      • getbenefitInfo
      • offerInfo
      • offerInfos
      • currentofferdetailsInfo
      • offers
      • prefillInfo
Home
Home
1.0.1
  • 1.0.2
  • 1.0.1
1.0.1
  • 1.0.2
  • 1.0.1
  1. Avibra

Security

Avibra uses the OAuth 2.0 Client Credentials Grant flow to obtain an access_token, which is then used to make REST API calls.
💡
Implementing the OAuth 2.0 Client Credentials Grant involves a series of steps where a client application requests an access token directly from the authorization server using its own credentials, without user involvement. This flow is typically used for machine-to-machine (M2M) applications.
General Steps:
1
Obtain OAuth 2.0 Credentials:
Avibra will provide partner with Client ID, Client Secret and Scope.
2
Request an Access Token:
The client sends a POST request to the authorization server's token endpoint with the following parameters:
grant_type=client_credentials
client_id=your_client_id
client_secret=your_client_secret
scope=scope
3
Receive Access Token:
If the credentials are valid, the authorization server responds with an access token.
4
Access Protected Resources:
Use the access token to authenticate API requests to protected resources by including it in the Authorization header:​
Authorization: Bearer your_access_token

Secure Avibra Embedded UX/UI URL#

To secure Avibra Embedded UX/UI URL, partner can use LinkToken API and append received linktoken to Avibra portal URL
https://avibra.com/benefits/{{partnername}}/{{campaign}}/{{userid}}&linktoken={{lintoken}}&isbaas=true&inapp=true
Modified at 2025-04-10 23:27:55
Previous
Embedded UX/UI
Next
Authentication API