Function Call:
assign_tag_to_contact
Purpose:
Assign or associate one or multiple tags to a contact.
Parameters:
tag_name
comma separated list of tag names
email_address
email address of contact to assign tag to
Return:
status – if success
– tags not found supplied in “detail”
– tags already assigned to contact supplied in “detail”
example: {“status”: “ok”, “detail”: “Success: Tag(s) not found: my+tag, another+tag; Contact has tag(s): a fourth tag, atag”}
would indicate that some tags have been added but not others
status – if error
Example:
One tag:
http://example.com/a.php/api/assign_tag_to_contact?api_key=0c68398&email_address=test@example.com&tag_name=my+tag
Multiple tags
http://example.com/a.php/api/assign_tag_to_contact?api_key=0c68398&email_address=test@example.com&tag_name=tag_name=tag1,my+tag,another+tag,a+fourth+tag