Content API

View content source statistics.

Authorization

Developers need an access token and a refresh token to use the Content API. The process of generating these tokens has been explained in Get Access and Refresh Token Using curl.

Using Tokens

The token generation call produces two kinds of tokens: Refresh and Access.

Refresh tokens don't expire until they are revoked by SearchUnify. Store them securely. The sole use of refresh tokens is to generate access tokens.

Access tokens expire every 30 minutes, or after a period set by a SearchUnify admin. They authenticate users. It is mandatory to include them in the header of your API calls. The format is -H "authorization: Bearer {{access token}}" .

Base URL

https://{{hostname}}/api/v2_cs/

The hostname is the URL of your SearchUnify instance.

Example Base URL

https://mycompany.searchunify.com/api/v2_cs/

Endpoints

Last updatedFriday, November 27, 2020