List topics
GET
/api/v1/topics
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://dashboard.azimea.com/api/v1/topics"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://dashboard.azimea.com/api/v1/topics';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://dashboard.azimea.com/api/v1/topics \ --header 'Authorization: Bearer <token>'The company’s active email topics, the keys a contact’s topics can turn on or off in POST /contacts. Archived topics are left out: they can no longer be set. Needs contacts:read.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Every active topic
Media typeapplication/json
object
isSuccess
boolean
value
Array<object>
object
id
string format: guid
key
string
name
string
description
string
isArchived
boolean
status
integer format: int32
errors
Array<object>
object
code
string
message
string
params
object
key
additional properties
fieldErrors
object
key
additional properties
Array<object>
object
code
string
message
string
params
object
key
additional properties
Example
{ "isSuccess": true, "value": [ { "id": "01a10a3c-7a8b-7d63-9f20-3b4c5d6e7f80", "key": "product_news", "name": "Product news", "description": "New features and changes, about once a month.", "isArchived": false } ], "status": 0, "errors": [], "fieldErrors": null}Missing or invalid API key
The key lacks the contacts:read permission