GET /v1/contacts/import/{jobId}
GET
/v1/contacts/import/{jobId}
const url = 'https://seu-endereco-da-api/v1/contacts/import/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/contacts/import/example \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Importar contatos (contacts:import).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”jobId
required
string
Responses
Seção intitulada “Responses”Media typeapplication/json
object
id
required
string
status
required
string
totalRows
required
number
processedRows
required
number
createdCount
required
number
completedCount
required
Contacts that already existed and had empty fields filled by the spreadsheet
number
skippedCount
required
Rows whose contact was already in the base
number
limitSkippedCount
required
Rows that were not saved because the plan’s contact limit was reached
number
taggedCount
required
Contacts that got the requested tag: the audience a campaign built from this spreadsheet reaches
number
errorCount
required
number
partialCount
required
Contacts that entered without one or more refused field values
number
rowIssueCount
required
Every refused value, refused row and ignored column, listed or not
number
rowIssues
required
The first 1000 issues: spreadsheet row (1 is the header), column and reason
Array<object>
object
row
required
number
column
required
string
reason
required
string
error
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example
{ "status": "pending"}