connections

Mint a log-drain token

Returns the token once, with the endpoint to send server logs to (POST <endpoint> with Authorization: Bearer <token>, one log line per row). Previous tokens for the brand are revoked. Log ingest is what powers the crawler view and the highest-confidence findings.

post/brands/{brandId}/ingest-token

Request

  • Base URL: https://shruwd.io/api/v1
  • URL: https://shruwd.io/api/v1/brands/{brandId}/ingest-token
  • Auth: HTTP bearer

Request body

labelstring

Response

The token.

tokenstring required

Shown once. Stored hashed; a lost token is replaced, not recovered.

tokenPrefixstring required

Enough to recognise the token in settings, never enough to use it.

labelstring required
endpointstring uri required

Where to POST log lines, with Authorization: Bearer <token>.

revokedPreviousinteger required

How many earlier tokens this one replaced.

Changes

No recorded changes to this operation across all 1 revision of this API.