Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This endpoint allows a user to get a list of suggested topics based on a list of input topics. Suggested Topics are based on Bombora’s in-house topic recommendation engine. It will return up topics up to the number specified.

If an account only has access to a specific set of whitelisted topics, only these topics will be returned. Please contact an Account Manager if there are issues with returned topics. 

Data Types

Request Object

Field name

Type

Description

Default

Notes

Topics

int

Id of topic

N/A

Required

NumberOfSuggestedTopics

int

Number of suggested topics to return

25

Optional. Options: 25, 50, 75, 100, 150, 200

Object Topic

Field name

Type

Description

Id

int

Id of topic

Name

string

Display name

Description

string

Topic description

Object Topics

Field name

Type

Description

Topics

Topic[]

List of all topics

Request/Response

HTTP Request

GET https://sentry.bombora.com/v2/cmp/TopicSuggestions

HTTP Request Header

Authorization: Basic {AUTH_KEY}

Referer: bombora.com

HTTP Request Body

{
"Topics" : [12314, 45656, 1234],
"NumberOfSuggestedTopics" : 25
}

HTTP Response

If successful, the response contains an instance of Topics, which is a list of Topic. 

{
  "Topics":[
    {
      "Id":1335536,
      "Name":"Infrastructure",

      "Description":"The basic physical and organizational structures and facilities needed for the operation of a society or enterprise."
    },
    {
      "Id":1333532,
      "Name":"Local Government",

      "Description":"The administration of a particular town, county, or district, with representatives elected by those who live there."
    },
    {
      "Id":1333536,
      "Name":"Legal",

      "Description":"Of, based on, or concerned with the law"
    },

    .................
  ],
  "Success":true,
  "Message":null
}

Comments

  • No labels