Contacts and companies
Tag customers from a CSV
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the contacts:write ability
Body
application/jsonfilenamestringfilename of the file being uploaded
Format: binary
namestringgeneral purpose name for multipart form value
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
matchedintegerrequiredHow many values of the list named a customer, or how many customers the audience matched.
Format: int64
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
rowsintegerHow many values the uploaded list held. Left out when an audience was tagged instead of a list.
Format: int64
tag_idstringrequiredId of the tag that was applied, such as tag_.... Send it wherever a tag is asked for.
tag_namestringrequiredName of the tag that was applied.
taggedintegerrequiredHow many customers were newly tagged; those who already had the tag are not counted.
Format: int64
unmatchedintegerrequiredHow many values of the list named nobody; 0 when an audience was tagged.
Format: int64
unmatched_samplestring[] | nullrequiredSome of the values that named nobody, to help fix the list; empty when all matched.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.