Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents:

Table of Contents
minLevel2


(info) Note: Notice that in each API call you must provide the List ID that you are working on, otherwise the default List ID will be used. You can review the possible ways to provide List ID in this link.

Methods Summary

POST /api/email_tag

Description 

This method create new Email Tag

...

Optional number - List ID. If you provide list ID than tag will be created in that list only. If you want to have Global Tag than use "list_id":null in email body and that tag will be created as global tag. 

Example 

List Specific Tag: 

POST URL: https://api.ongage.net/<list_id>/api/email_tag

Code Block
{"title":"Holiday Special"}


Global Tag: 

POST URL: https://api.ongage.net/api/email_tag

Code Block
{"title":"Holiday Special","list_id":null}

GET /api/email_tag

Description 

This method fetches a collection of email tags.

...

Optional int

limit

Optional int

PUT /API/email_tag/<Email Tag ID>

Description 

This method updates an email tag.

...

email tag can be set globally for all lists, or to a specific list when "list_id" is provided

DELETE /API/email_tag/<Email Tag ID>

Description 

This method deletes an email tag.