Omnia docs

Get topic

Retrieve a topic by its id.

Deprecated: Returns a 410 Gone error once Topics are disabled for your account due to deprecation — if so, use GET /api/v1/brands/{brand}/prompts instead. It returns all prompts for the brand and supports type, countries, and tags filters to narrow the results.

GET
/api/v1/topics/{topic}

Authorization

BearerAuth
AuthorizationBearer <token>

API token authentication. Use format: Bearer ot_your-token-here

In: header

Path Parameters

topic*string

Unique identifier for the topic

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.useomnia.com/api/v1/topics/550e8400-e29b-41d4-a716-446655440000"
{
  "data": {
    "createdAt": "2026-01-01T09:30:00Z",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "location": "us",
    "name": "best software",
    "status": "active",
    "tags": [
      "product",
      "high-priority"
    ],
    "topicSource": "custom",
    "topicType": "Non-Branded"
  }
}
{
  "error": {
    "code": 1002,
    "description": "Invalid input parameters"
  }
}
{
  "error": {
    "code": 1004,
    "description": "Invalid or expired API token"
  }
}
{
  "error": {
    "code": 1006,
    "description": "Item not found"
  }
}
{
  "error": {
    "code": 1001,
    "description": "Internal error"
  }
}