Skip to main content
Connections

Track a connection as an introduction

Use Test Request to send this request with your API key. This operation changes tenant data.

POST /api/v2/connections/track

Tracks a connection path, turning it into an introduction the tenant is working, or untracks it with pinned: false. The path is addressed by the connectionId returned from GET /connections/search; the pinned introduction keeps that same id, so it is the introductionId you pass to the other introduction endpoints afterwards.

Tracking runs the same downstream work as pinning inside the Vieu app: the activity log is written, the tenant's account for the company is provisioned if it does not exist yet, outreach drafting is kicked off, and the introduction is pushed to your CRM when those integrations are enabled. Those run asynchronously — a 200 means the track was recorded, not that every follow-on task has finished.

A track through this API is attributed to the API key (<keyName>@vieu.api) in the activity log, the same as notes and status changes.

Tracking an already-tracked path is a no-op that still returns 200, so the call is safe to retry.

Assign an owner with pointOfContact (a teammate's email or name). Either owner form is verified to be a user in your tenant before the pin is written.

Required scope: introduction:read-write

Query parameters​

NameTypeRequiredDescription
connectionIdstringYesThe path id from a GET /connections/search result.

Responses​

200​

The pin was recorded.


{
"type": "object",
"required": [
"introductionId",
"pinned"
],
"properties": {
"introductionId": {
"type": "string",
"format": "uuid",
"description": "Id of the pinned introduction — the same value as the\n`connectionId` that was pinned. Pass it to the other introduction\nendpoints.\n"
},
"pinned": {
"type": "boolean",
"description": "The pin state now in effect."
}
},
"example": {
"introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
"pinned": true
}
}

400​

The request is malformed or failed validation.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

401​

Missing or invalid API key.


{
"type": "object",
"description": "Returned on 401 responses. `reason` is a stable machine-readable code\nthat clients can branch on without parsing `message`.\n",
"required": [
"message",
"reason"
],
"properties": {
"message": {
"type": "string",
"example": "Invalid Auth Token Provided"
},
"reason": {
"type": "string",
"description": "- `TOKEN_MISSING`: no `x-api-key` header on the request.\n- `TOKEN_EXPIRED`: the key was found but has expired or been revoked (also used when the key is unknown).\n- `ACCESS_DENIED`: the token is present but not accepted for the resource.\n- `AUTH_INVALID`: generic auth failure, usually an internal error resolving the key.\n",
"enum": [
"TOKEN_MISSING",
"TOKEN_EXPIRED",
"ACCESS_DENIED",
"AUTH_INVALID"
],
"example": "TOKEN_EXPIRED"
}
}
}

403​

API key lacks the scope required to call this endpoint.


{
"type": "object",
"description": "Returned on 403 responses. The key was valid but does not have the\nscope required by the endpoint.\n",
"required": [
"code",
"message",
"reason"
],
"properties": {
"code": {
"type": "string",
"enum": [
"ERR_FORBIDDEN"
]
},
"message": {
"type": "string",
"example": "Insufficient permissions for this operation"
},
"reason": {
"type": "string",
"description": "- `SCOPE_INSUFFICIENT`: the authenticated key's scopes do not include the one required by this endpoint.\n- `FORBIDDEN`: generic 403 (rarely used on v2 routes; reserved for non-scope access checks).\n",
"enum": [
"SCOPE_INSUFFICIENT",
"FORBIDDEN"
],
"example": "SCOPE_INSUFFICIENT"
}
}
}

404​

Resource not found, or not owned by the authenticated tenant.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

429​

API key rate limit exceeded.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}

500​

Unexpected server error.


{
"type": "object",
"description": "Standard error response.",
"required": [
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Machine-readable error code.",
"enum": [
"ERR_INVALID_REQUEST",
"ERR_NOT_FOUND",
"ERR_RATE_LIMIT",
"ERR_INTERNAL_SERVER"
]
},
"message": {
"type": "string",
"description": "Human-readable error message."
}
}
}