younifyd
Menu

Html Post

Get HTML item preview

POST/rest/search/v2/html

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Html Post action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{htmlPost.response.data}}.

Request

Query parameters

uniqueIdstringrequired

The unique ID of the document.

organizationIdstring

The unique identifier of the target Coveo Cloud organization. Specifying a value for this parameter is only necessary when you are authenticating the API call with an OAuth2 token.

viewAllContentboolean

Whether to bypass document permissions. Only effective if the access token grants the **Search - View all content** privilege.

findNextinteger (int32)
findPreviousinteger (int32)
pageinteger (int32)
enableNavigationboolean
requestedOutputSizeinteger (int32)

The approximate number of bytes to request in the HTML response. **Default:** `0`, meaning that the entire HTML document is requested.

Response

Returns 200 with a any. Read it in later steps with {{htmlPost.response.data.<field>}}.

Need more? See the Coveo guide for connection setup and behaviour shared by every action.

Was this page helpful?
Html Post — Coveo — Documentation