OkHi Documentation
  • 👋Welcome Home
  • OVERVIEW
    • OkHi Product Overview
    • Integration process overview
    • Verification terminology
    • Case Studies
  • Best Practices
    • Integration Best Practices
    • Live Examples
    • Tips for PMs & QA
      • Testing & QA Guide
      • Publishing to app stores
        • Google Play store
        • Apple App Store
    • Tips for designers
  • Code Libraries
    • Developer Quick Start
      • Environment setup
      • Release Notes
    • Android Guide
      • Android Dependencies
      • Migrating to the latest library
    • iOS Guide
    • React Native Guide
      • React Native Dependencies
      • React Native troubleshoot guide
    • Expo React Native Guide
    • Flutter Guide
      • Flutter Dependencies
    • JS library
      • API Reference
      • OkCollect Webhook
      • Changelog
    • WooCommerce Plugin
      • Changelog
  • Verification Status
    • Customer Dashboard
    • Verification Status Updates
      • Webhook v3
        • Webhook Signature Verification Guide
      • Webhook v2
      • Verification Status API
      • Proof Of Address Certificate API
      • FAQs
    • API reference docs
  • Troubleshooting
    • Error Responses
    • Common technical pitfalls
    • How to reduce "Unknowns"
    • FAQs
      • Technical FAQs
      • Compliance FAQs
    • Get in touch
Powered by GitBook
On this page
  • Authentication
  • Verification Status
  • Retrieve user verification status

Was this helpful?

  1. Verification Status

API reference docs

Welcome to our REST API Reference Documentation. This comprehensive guide is designed to help developers understand and effectively utilize our RESTful API services. It provides detailed information about our API endpoints, request/response models, error codes, and authentication methods. Whether you're integrating our services into your application for the first time or troubleshooting an issue, this documentation will serve as a valuable resource. It's designed to be easy to navigate, with clear, concise explanations to ensure a smooth development experience.

Authentication

Authenticate with OkHi server by sending your branch ID and server key along with every request. Authenticate by passing a header value of base64 encoding of branchId:serverKey prepended with the string "Token " to the Authorization property.

In practice that means taking your branch ID, e.g. if your branch ID is abc adding a :, and then appending your server key to it, e.g., if your server key is xyz. After base64 encoding abc:xyz becomes YWJjOnh5eg==, and this is passed in the authorization header like so: Authorization: Token YWJjOnh5eg==.

Verification Status

The verification status API allows you to gain insights into the verification status of an address for a user so as to understand if the address has been verified, is currently being verified, or was not verifiable.

Retrieve user verification status

POST https://api.okhi.io/v5/locations/:id/verifications/status

Gain insights into the verification status of an address for a user

Path Parameters

Name
Type
Description

id*

locationID

a valid location ID, this is part of the payload returned by OkCollect after successfully creating an OkHi address

{
  "most_recent_profile": {
    "status": "verified",
    "score": 0.58,
    "address_verification_id": "ONYgUOybCU",
    "source": "DB"
  },
  "webhook_profile": {
    "verification_status": "verified",
    "verification_mode": "continuous"
  },
  "location_id": "C0DTxgjRdn"
}

PreviousFAQsNextError Responses

Was this helpful?