Skip to main content
TroopyDocs
Open Troopy
Troopy

API reference / CRM

Add rows to a list

Adds up to 1,000 people or companies by their values, keyed by column id. Each is found in the CRM by its email, LinkedIn or domain, or made: one already on the list gets the new values. A value that doesn't fit its column is left out and counted in skipped.

post/api/v1/lists/{id}/rows

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.
Scopescrm:write

Other ways to call it

CLItroopy lists add-rows
MCP tooltroopy_add_list_rows
Rate limit300 calls in 60 seconds, for each key
RetriesSend an Idempotency-Key header. A retry with the same key gets the first answer back, and the operation runs one time.

Path parameters

id*string

A 24-character id

Body

application/json
rows*array<object>

At most 1000 items

sourceenum<string>

import marks them as coming from a file

import

Response

200 · application/json
data*object
3 properties
added*integer
updated*integer
skipped*integer

Values left out

Errors

400 invalid_inputFix the field named in detail. Each operation's schema is in /api/v1/openapi.json.
401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
404 not_foundCheck the path and any id in it. Every operation is listed in /api/v1/openapi.json.
409 conflictThis Idempotency-Key was used for a different request, or that request is still running. Use a new key for a new request.
429 rate_limitedWait the number of seconds in Retry-After, then retry.