Sparq API: Elevate Your Search Experience
Welcome to the Sparq API Getting Started Guide, your gateway to integrating powerful search capabilities seamlessly into your applications. Sparq empowers you to revolutionize user experiences across websites, mobile apps, and enterprise software, with effortless integration and minimal IT involvement.Core Features of Sparq API
RESTful API Design
The Sparq API follows RESTful principles, leveraging familiar HTTP verbs for intuitive interaction:| Verb | Description |
|---|---|
| GET | Retrieve data from Sparq. |
| POST | Submit data, creating or updating resources. |
| PUT | Update resources. |
| DELETE | Remove resources. |
Cross-Origin Resource Sharing (CORS)
Sparq supports CORS, enabling seamless API interaction across domains, enhancing integration flexibility.Securing Your API with Sparq Authentication
Authentication Overview
Sparq utilizes Bearer Tokens for secure API access. Here’s how to obtain and use these tokens for authenticated requests:Using Bearer Tokens
1
Obtain a Bearer Token
Authenticate with Sparq’s server to acquire a token.
2
Include the Token in Your Requests
Add the Bearer Token to the Authorization header of your HTTP requests.
Enhance Your Workflow with Sparq API
We leverage two APIs within our application:- https://(app-unique-id).fast.sparq.ai/v2 for searching data.
- https://api.sparq.ai/v2 for indexing data.
