Get key-value pair


Retrieve a specific key-value pair from the metadata of a case.


HTTP Method: GET

Parameter Description
case_id The ID of the case containing metadata.
key The key of the key-value pair.
curl -X GET \
  https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/metadata/<<key>> \
  -H 'content-type: application/json' \
  -H 'x-user-token: <<CREDENTIAL.tines_api_key>>'


A successful request will return a JSON object with the specific metadata key-value pair.

Field description

Parameter Description
case_id The case ID.
metadata The case related metadata only including the specific key-value pair.

Sample response

  "case_id": 42,
  "metadata": {
    "key": "value"
Was this helpful?