VUMI Documentation
  • Introduction
    • 🎉Welcome!
    • ➡️Quick Start
  • Platform
    • App Overview
      • API Products
      • Connections Overview
      • API Configuration
    • Link Overview
      • Link redirects
      • Link parameters
      • Customization
  • General API Resources
    • Authentication
      • API Login
    • Entities
      • List entities for app
    • Connections
      • Exchange public token
      • Get Connection status
      • List all connections
      • List public tokens
      • Delete Connection
    • Investments
      • List investments
    • Webhook
      • Get verification key
  • Aggregation
    • Accounts
      • List accounts
      • List account transactions
    • Portfolios
      • List portfolios
      • List portfolio transactions
      • List portfolio positions
  • Assets Transfer
    • Assets transfer
  • Developer Resources
    • API and Widget Errors
    • Webhooks and security
      • Webhook verification
    • Pagination
    • Tracing requests
Powered by GitBook
On this page
  1. General API Resources
  2. Connections

Exchange public token

Last updated 11 months ago

This endpoint will change the temporary publicToken that you receive from the for a valid connectionToken that is permanent and can be used to retrieve connection information. A connection is not considered "active" until its publicToken is exchanged.

Link flow

Exchange public token for connection token

post

Exchanges public token for connection token from an app

Authorizations
Path parameters
publicTokenstring · uuidRequired

Public token pending to convert

Responses
200
Successfully exchanged public token for connection token
application/json
401
Invalid credentials
application/json
404
Connection not found with the given public token for the current app
application/json
500
Internal server error
application/json
post
POST /api/v1/commands/connections/exchange/{publicToken} HTTP/1.1
Host: api.finlink.vumi.io
Authorization: Bearer JWT
Accept: */*
{
  "connectionToken": "AAAAA11111"
}