Change a key contact’s role
Give a key contact on a company, deal or lead one role in place of the ones they hold (decision maker, influencer, billing, technical, buyer, other).
Required scopes: contacts:write. Runs at once.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/record_contact.set_role' \ -H 'Content-Type: application/json' \ -d '{ "input": { "objectType": "company", "objectId": "string", "contactId": "string", "role": "decision_maker" }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Remove a key contact POST
Take a person off the key contacts of a company, deal or lead (one role, or every role they hold). The contact itself and its other links to the record are left alone. Required scopes: contacts:write. Runs at once.
Add a detail POST
Record another email, phone, company name (a DBA or legal entity), address or other fact against a company, contact or lead, with a free-text label such as "Personal email" or "Warehouse phone". Additional to the record’s own fields, never a replacement; mail from an additional email files to that contact. Required scopes: contacts:write. Runs at once.