Get Theme by Name or ID
This endpoint allows you to get a theme by its name or ID
Data Types
Object Topic
Field name | Type | Description |
---|---|---|
Id | int | Id of theme |
Name | string | Display name |
Response Object
Field name | Type | Description |
---|---|---|
Topic | Topic | Topic object |
Success | bool | Indicates whether a request was successful (true) or not (false) |
Message | string | Error message if success is false |
Request/Response
Path Parameters
Parameter Name | Type | Description |
---|---|---|
id | int | Id of desired theme |
name | string | Name of desired theme |
Note: Only one parameter is required
HTTP Request
To retrieve theme by ID:
GET https://sentry.bombora.com/v2/Topic/GetTheme?id=1500622
To retrieve theme by name:
GET https://sentry.bombora.com/v2/Topic/GetTheme?name=business
HTTP Request Header
Authorization: Basic {AUTH_KEY}
Referer: bombora.com
HTTP Response
If successful, the response contains an instance of Topic.
{
"Topic":
{
"Id":1500622,
"Name":"Business"
},
"Success":true,
"Message":null
}
Comments
- Ensure special characters in theme names are properly encoded.
- If theme name is "A & B", request should be sent as:
- GetTheme?name=A%20%26%20B
- If theme name is "A & B", request should be sent as:
- Theme name or ID is required. If both are supplied, only the theme ID will be considered.
Copyright © 2014-2020 by Bombora, Inc. All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means without the prior written permission of Bombora, Inc.