Skip to Content
Harnix

Complete an account connection

POST
/v2/connections/{connector_id}/complete

Path Parameters

connector_id*Connector Id
Formatuuid

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
resumed_runs*Resumed Runs
Example Request
curl -X POST 'https://api.harnix.vn/v2/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/complete' \  -H 'Content-Type: application/json' \  -d '{  "code": "string",  "state": "string"}'
Example Response
{  "connected": true,  "resumed_runs": 0}