sendgrid/smtpapi-nodejs

Category List

Closed this issue · 1 comments

is there a limit to the number of categories I can add?
currently I have 17 categories, and im adding new ones using :

api_user=USERNAME&api_key=KEY&category=CATEGORY

I receive success message , but the category wont show in the query from
the link you provided on the other issue (https://sendgrid.com/docs/API_
Reference/Web_API/Statistics/index.html#-Category-List)

(p,s I've also tried adding the category via
https://sendgrid.com/docs/API_Reference/Marketing_Emails_API/categories.html
same result : getting success msg, but the category wont appear)

There is a limit to 10 categories per message, but no limit to the number of total categories. A category is not added through the Web API, but rather in the SMTP-API header on a message send. You can read more about categories here.

You also might want to take a look at unique args if you wind up needing to follow individual messages through a lifecycle.

Please let me know if I need to clarify anything!