Skip to Content
Harnix
Api reference

Complete an account connection from the fallback page

POST
/v2/connections/complete

Header Parameters

authorization?string|null
origin?string|null

Request Body

application/json
  1. body
code*Code
Length1 <= length <= 2048
iss?string|null
state*State
Length1 <= length <= 512

Response Body

Successful Response

application/json
  1. response
connected?Connected
Defaulttrue
connector_id*Connector Id
Formatuuid
resumed_runs*Resumed Runs
Example Request
curl -X POST 'https://api.harnix.vn/v2/connections/complete' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "state": "string"}'
Example Response
{  "connected": true,  "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",  "resumed_runs": 0}