Description
Retrieve the metadata from a case.
Request
HTTP Method: GET
Parameter | Description |
---|---|
case_id | The ID of the case containing metadata. |
curl -X GET \
https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/metadata \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>'
Response
A successful request will return a JSON object with the metadata.
Field description
Parameter | Description |
---|---|
case_id | The ID of the case. |
metadata | Case related metadata represented as key-value pairs. |
Sample response
{
"case_id": 42,
"metadata": {
"key": "value",
"second_key": "second value"
}
}