Skip to content

Contatti

Crea e gestisci il database di contatti della tua organizzazione.

Elencare i contatti

GET /v1/contacts

Recupera una lista paginata di contatti.

Scope richiesto: contacts:read

Parametri di query

ParametroTipoDescrizione
pageintegerNumero pagina (default: 1)
limitintegerRisultati per pagina (default: 20, max: 100)
searchstringCerca per nome, email, telefono o azienda

Esempio

bash
curl "https://api.replicer.ai/v1/contacts?search=mario&limit=10" \
  -H "Authorization: Bearer rpl_live_your_key"

Risposta 200 OK

json
{
  "data": [
    {
      "id": "clx-contact-001",
      "firstName": "Mario",
      "lastName": "Rossi",
      "company": "Acme Corp",
      "jobTitle": "CTO",
      "phoneNumber": "+1234567890",
      "email": "[email protected]",
      "street": "Via Roma 123",
      "city": "Milano",
      "state": "MI",
      "postalCode": "20100",
      "country": "IT",
      "website": "https://acme.com",
      "birthday": "1990-03-15T00:00:00Z",
      "notes": "Incontrato alla conferenza",
      "createdAt": "2026-03-01T10:00:00Z",
      "updatedAt": "2026-04-01T15:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 45,
    "totalPages": 5
  },
  "requestId": "req-abc123"
}

Creare un contatto

POST /v1/contacts

Crea un nuovo contatto nella tua organizzazione.

Scope richiesto: contacts:write

Body della richiesta

CampoTipoObbligatorioDescrizione
firstNamestringNo*Nome
lastNamestringNo*Cognome
companystringNo*Azienda
jobTitlestringNoRuolo
phoneNumberstringNo*Numero di telefono in formato E.164
emailstringNo*Indirizzo email
streetstringNoVia
citystringNoCittà
statestringNoProvincia
postalCodestringNoCAP
countrystringNoCodice paese (es. IT)
websitestringNoURL del sito web
birthdaystringNoData ISO 8601
notesstringNoNote libere

INFO

*Almeno uno tra firstName, lastName, company, phoneNumber o email è obbligatorio.

Esempio

bash
curl -X POST https://api.replicer.ai/v1/contacts \
  -H "Authorization: Bearer rpl_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Laura",
    "lastName": "Bianchi",
    "phoneNumber": "+391555123456",
    "email": "[email protected]",
    "company": "Bianchi Srl"
  }'

Risposta 201 Created

json
{
  "data": {
    "id": "clx-contact-002",
    "firstName": "Laura",
    "lastName": "Bianchi",
    "company": "Bianchi Srl",
    "jobTitle": null,
    "phoneNumber": "+391555123456",
    "email": "[email protected]",
    "street": null,
    "city": null,
    "state": null,
    "postalCode": null,
    "country": null,
    "website": null,
    "birthday": null,
    "notes": null,
    "createdAt": "2026-04-05T10:00:00Z",
    "updatedAt": "2026-04-05T10:00:00Z"
  },
  "requestId": "req-def456"
}

Replicer API Documentation