POST
/
v2
/
search
/
history
Record an account search query
curl --request POST \
  --url https://api-v2.watchcollect.com/v2/search/history \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "items": [
    {
      "query": "<string>",
      "searched_at_ms": 123,
      "search_count": 2
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required
Required string length: 1 - 256

Response

Updated recent search queries.

items
object[]
required