List promotion advertiser names
GET
/api/v3/promotions/promoters
const url = 'https://api.tryletterhead.com/api/v3/promotions/promoters?api=true';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/promotions/promoters?api=true' \ --header 'Authorization: Bearer <token>'List the distinct advertiser (βpromoterβ) display names used across the companyβs promotions β a flat list of strings, for populating a promoter filter/autocomplete.
v3 endpoints expect a company API key.
Authorizations
Section titled βAuthorizations βParameters
Section titled β Parameters βQuery Parameters
Section titled βQuery Parameters β api
required
boolean
When set to true, the endpoint accepts authorization with your API Key.
Responses
Section titled β Responses β200 OK
Media type application/json
object
items
Array<string>
total
integer
Example
{ "items": [ "Example Brand", "Another Advertiser" ], "total": 2}Still can’t find what you need? Contact support.