OutFlo Public API / Guide

Authentication flow

Connect LinkedIn accounts, resolve checkpoints, and poll connection status.

Overview

The account connection flow starts with credentials, may require an OTP checkpoint, and finishes by polling account status. The contracts below document each step with the same field and response structure.

Authentication

Send the same x-api-key header with every request.

Manage API keys
Canonical contract

Request and response schemas

Every operation below follows the same contract order. All responses use the standard status, data, and error envelope.

POST/api/public/accounts/loginStart a LinkedIn account login

Headers

FieldTypeRequiredDescription
x-api-keystringYesWorkspace API key.
Content-TypestringYesMust be application/json.Example: application/json

Path parameters

No path parameters.

Query parameters

No query parameters.

Request body · application/json

FieldTypeRequiredDescription
usernamestringYesLinkedIn account email address or phone number.
passwordstringYesLinkedIn account password.

Success response · 200

FieldTypeRequiredDescription
statusintegerYesHTTP status mirrored in the JSON body. Success: 200.
dataobject | array | nullYesStart a LinkedIn account login result. The exact data fields depend on the selected resource.
errorstring | nullYesNull on success; a developer-readable message on failure.
Request body example
{
  "username": "<string>",
  "password": "<string>"
}
Standard success envelope · 200
{
  "status": 200,
  "data": "<endpoint-specific response data>",
  "error": null
}
Standard error envelope
{
  "status": 400,
  "data": null,
  "error": "Developer-readable error message"
}
POST/api/public/accounts/checkpoint/solveSubmit an account login checkpoint

Headers

FieldTypeRequiredDescription
x-api-keystringYesWorkspace API key.
Content-TypestringYesMust be application/json.Example: application/json

Path parameters

No path parameters.

Query parameters

No query parameters.

Request body · application/json

FieldTypeRequiredDescription
accountIdstring · UUIDYesAccount ID returned by the login request.
codestringYesOTP or two-factor verification code.

Success response · 200

FieldTypeRequiredDescription
statusintegerYesHTTP status mirrored in the JSON body. Success: 200.
dataobject | array | nullYesSubmit an account login checkpoint result. The exact data fields depend on the selected resource.
errorstring | nullYesNull on success; a developer-readable message on failure.
Request body example
{
  "accountId": "00000000-0000-4000-8000-000000000000",
  "code": "<string>"
}
Standard success envelope · 200
{
  "status": 200,
  "data": "<endpoint-specific response data>",
  "error": null
}
Standard error envelope
{
  "status": 400,
  "data": null,
  "error": "Developer-readable error message"
}
POST/api/public/accounts/checkpoint/resendResend an account login checkpoint

Headers

FieldTypeRequiredDescription
x-api-keystringYesWorkspace API key.
Content-TypestringYesMust be application/json.Example: application/json

Path parameters

No path parameters.

Query parameters

No query parameters.

Request body · application/json

FieldTypeRequiredDescription
accountIdstring · UUIDYesAccount ID returned by the login request.

Success response · 200

FieldTypeRequiredDescription
statusintegerYesHTTP status mirrored in the JSON body. Success: 200.
dataobject | array | nullYesResend an account login checkpoint result. The exact data fields depend on the selected resource.
errorstring | nullYesNull on success; a developer-readable message on failure.
Request body example
{
  "accountId": "00000000-0000-4000-8000-000000000000"
}
Standard success envelope · 200
{
  "status": 200,
  "data": "<endpoint-specific response data>",
  "error": null
}
Standard error envelope
{
  "status": 400,
  "data": null,
  "error": "Developer-readable error message"
}
GET/api/public/accounts/status/{id}Get LinkedIn account connection status

Headers

FieldTypeRequiredDescription
x-api-keystringYesWorkspace API key.

Path parameters

FieldTypeRequiredDescription
idstring · UUIDYesid path identifier.

Query parameters

No query parameters.

Request body

No request body.

Success response · 200

FieldTypeRequiredDescription
statusintegerYesHTTP status mirrored in the JSON body. Success: 200.
dataobject | array | nullYesGet LinkedIn account connection status result. The exact data fields depend on the selected resource.
errorstring | nullYesNull on success; a developer-readable message on failure.
Request example
{
  "headers": {
    "x-api-key": "<string>"
  }
}
Standard success envelope · 200
{
  "status": 200,
  "data": "<endpoint-specific response data>",
  "error": null
}
Standard error envelope
{
  "status": 400,
  "data": null,
  "error": "Developer-readable error message"
}