List tags
GET
/api/v3/contacts/tags
const url = 'https://api.tryletterhead.com/api/v3/contacts/tags?api=true&sort=name&direction=asc';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://api.tryletterhead.com/api/v3/contacts/tags?api=true&sort=name&direction=asc' \ --header 'Authorization: Bearer <token>'Returns a paginated, searchable list of your companyβs tags, each with its audience-member count.
Query parameters
page(default1),limit(default500, max500).searchβ filter by tag name.sortβname(default) oraudienceMembers.directionβasc(default) ordesc.
Authorizations
Section titled βAuthorizations βParameters
Section titled β Parameters βQuery Parameters
Section titled βQuery Parameters β api
required
boolean
Required. Set to true.
page
integer
limit
integer
search
string
sort
string
direction
string
Responses
Section titled β Responses β200 OK
Still can’t find what you need? Contact support.