Skip to main content
GET
/
api
/
v1
/
report-templates
/
{reportTemplateId}
GetReportTemplate
curl --request GET \
  --url https://your-sift-api-url.com/api/v1/report-templates/{reportTemplateId} \
  --header 'Authorization: Bearer <token>'
{
  "reportTemplate": {
    "reportTemplateId": "<string>",
    "organizationId": "<string>",
    "clientKey": "<string>",
    "name": "<string>",
    "description": "<string>",
    "archivedDate": "2023-11-07T05:31:56Z",
    "createdByUserId": "<string>",
    "modifiedByUserId": "<string>",
    "createdDate": "2023-11-07T05:31:56Z",
    "modifiedDate": "2023-11-07T05:31:56Z",
    "rules": [
      {
        "ruleId": "<string>",
        "ruleVersionId": "<string>",
        "ruleVersionNumber": 123,
        "clientKey": "<string>"
      }
    ],
    "tags": [
      {
        "tagName": "<string>"
      }
    ],
    "metadata": [
      {
        "key": {
          "name": "<string>",
          "type": "METADATA_KEY_TYPE_UNSPECIFIED",
          "archivedDate": "2023-11-07T05:31:56Z"
        },
        "stringValue": "<string>",
        "numberValue": 123,
        "booleanValue": true,
        "archivedDate": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

reportTemplateId
string
required

Query Parameters

clientKey
string
organizationId
string

Response

A successful response.

The request of a call to ReportTemplateService_GetReportTemplate to retrieve a report template.

reportTemplate
object
required