# Avibra Integration API ## Docs - [Avibra](https://apidoc.avibra.com/v1_0_2.md): - Avibra [Change Log](https://apidoc.avibra.com/change-log-1038347m0.md): - Avibra [Embedded UX/UI](https://apidoc.avibra.com/embedded-uxui-934970m0.md): - Avibra [Security](https://apidoc.avibra.com/security.md): - Avibra [User Management](https://apidoc.avibra.com/user-management-3477026f0.md): - Avibra [Webhook](https://apidoc.avibra.com/notifications.md): - Avibra > Export Data [Open API Spec](https://apidoc.avibra.com/open-api-spec-1038391m0.md): ## API Docs - Avibra > Security [Authentication API](https://apidoc.avibra.com/authentication-api-15074784e0.md): Avibra uses the OAuth 2.0 Client Credentials Grant flow to obtain an access_token, which is then used to make REST API calls. - Avibra > Security [LinkToken API](https://apidoc.avibra.com/linktoken-api-15830657e0.md): This API returns linktoken specific to user which can be appened to portal url (linktoken param).This token secures portal url. Api requires basic auth to authenticate. Username and Password will be provided by Avibra - Avibra > Benefits [Get Benefits With Status](https://apidoc.avibra.com/get-benefits-with-status-15830786e0.md): - Avibra > User Management [Create User](https://apidoc.avibra.com/create-user-15830815e0.md): The API is used to create a user account within the Avibra ecosystem. Ensure a unique Idempotency-Key header is included to prevent duplicate account creation. Use the header Version: v2 to enable idempotency and synchronous API execution. - Avibra > User Management [Update User](https://apidoc.avibra.com/update-user-15830817e0.md): This API is used to update a user's first name, last name, email, or phone number. Include a unique Idempotency-Key header to prevent duplicate updates. Use the header Version: v2 to enable idempotency and ensure synchronous API execution. - Avibra > User Management [Cancel User](https://apidoc.avibra.com/cancel-user-15830840e0.md): This API cancels the user's offer, and the partner will not be billed. Include a unique Idempotency-Key header to prevent duplicate cancellations. Use the header Version: v2 to enable idempotency and ensure synchronous API execution. - Avibra > User Management [Prefil User](https://apidoc.avibra.com/prefil-user-16287998e0.md): Allows prefill data to capture through api and prefill it on registration page. Include a unique Idempotency-Key (usually hash of request body) header. If same idempotency key comes in header and prefill exists with that request, response will be 409 - user exists already. if new idempotent key come then api will create or update existing entry. Use the header Version: v2 to enable idempotency and ensure synchronous API execution. - Avibra > User Management [Upgrade/Downgrade User](https://apidoc.avibra.com/upgradedowngrade-user-24487300e0.md): This API is used to upgrade or downgrade a user's offer/campaign/tier. It is asynchronous API execution. We will notify of upgrade and downgrade through webhook. - Avibra > Webhook [Webhook API (provided by partner)](https://apidoc.avibra.com/webhook-api-provided-by-partner-15830902e0.md): ## Schemas - Schemas [eventInfo](https://apidoc.avibra.com/eventinfo-5720648d0.md): - Schemas [userInfo](https://apidoc.avibra.com/userinfo-5720737d0.md): - Schemas [addressInfo](https://apidoc.avibra.com/addressinfo-5724267d0.md): - Schemas [benefitwithstatusInfo](https://apidoc.avibra.com/benefitwithstatusinfo-5724324d0.md): - Schemas [benefitwithstatusInfos](https://apidoc.avibra.com/benefitwithstatusinfos-5724328d0.md): - Schemas [errorInfo](https://apidoc.avibra.com/errorinfo-5791890d0.md): - Schemas [updateuserInfo](https://apidoc.avibra.com/updateuserinfo-5791897d0.md): - Schemas [linktokenInfo](https://apidoc.avibra.com/linktokeninfo-5792040d0.md): - Schemas [linktokenesponseInfo](https://apidoc.avibra.com/linktokenesponseinfo-5792042d0.md): - Schemas [accesstokenInfo](https://apidoc.avibra.com/accesstokeninfo-5792046d0.md): - Schemas [getbenefitInfo](https://apidoc.avibra.com/getbenefitinfo-5792056d0.md): - Schemas [userofferInfos](https://apidoc.avibra.com/userofferinfos-11046522d0.md): - Schemas [offerInfo](https://apidoc.avibra.com/offerinfo-5720643d0.md): - Schemas [offerInfos](https://apidoc.avibra.com/offerinfos-5720644d0.md): - Schemas [currentofferdetailsInfo](https://apidoc.avibra.com/currentofferdetailsinfo-5720649d0.md): - Schemas [offers](https://apidoc.avibra.com/offers-5720650d0.md): - Schemas [prefillInfo](https://apidoc.avibra.com/prefillinfo-6463774d0.md): - Schemas [moredetail](https://apidoc.avibra.com/moredetail-6930535d0.md): - Schemas [moredetails](https://apidoc.avibra.com/moredetails-6930545d0.md):