# API

- [API - How to register the API key](https://docs.sprinthub.com/en/topics/api/api-how-to-register-the-api-key.md)
- [API - API call to create/update Opportunity in CRM](https://docs.sprinthub.com/en/topics/api/api-api-call-to-create-update-opportunity-in-crm.md)
- [API - API call to List Opportunities for a Lead](https://docs.sprinthub.com/en/topics/api/api-api-call-to-list-opportunities-for-a-lead.md)
- [API - API call to update the Lead's UTMs](https://docs.sprinthub.com/en/topics/api/api-api-call-to-update-the-leads-utms.md)
- [API - API call to get a Lead ID](https://docs.sprinthub.com/en/topics/api/api-api-call-to-get-a-lead-id.md)
- [API - API call to fetch Service or Lead Files](https://docs.sprinthub.com/en/topics/api/api-api-call-to-fetch-service-or-lead-files.md)
- [API - API call to List Lead Conversations](https://docs.sprinthub.com/en/topics/api/api-api-call-to-list-lead-conversations.md)
- [API - API call to list Leads and Lead Fields](https://docs.sprinthub.com/en/topics/api/api-api-call-to-list-leads-and-lead-fields.md)
- [API - Call to list the instance's leads by searching for a specific field](https://docs.sprinthub.com/en/topics/api/api-api-call-to-list-leads-and-lead-fields/api-call-to-list-the-instances-leads-by-searching-for-a-specific-field.md)
- [API - Changing Lead data using any field as a reference](https://docs.sprinthub.com/en/topics/api/api-changing-lead-data-using-any-field-as-a-reference.md)
- [API - Creating Lead and Opportunity at the same time](https://docs.sprinthub.com/en/topics/api/api-creating-lead-and-opportunity-at-the-same-time.md)
- [API - (Advanced) Advanced Tracking via Tracking Script](https://docs.sprinthub.com/en/topics/api/api-advanced-advanced-tracking-via-tracking-script.md)
- [API - HOTMART: Sending abandoned cart event to SprintHub via Make](https://docs.sprinthub.com/en/topics/api/api-hotmart-sending-abandoned-cart-event-to-sprinthub-via-make.md)
- [API - Google Sheets - Sending lead data to Google Sheets](https://docs.sprinthub.com/en/topics/api/api-google-sheets-sending-lead-data-to-google-sheets.md): Step-by-step guide on how to send data from SprintHub to a Google Sheets spreadsheet.
- [API - Creating a Lead](https://docs.sprinthub.com/en/topics/api/api-creating-a-lead.md): How to create a Lead with data from a request.
- [API - Updating Lead fields](https://docs.sprinthub.com/en/topics/api/api-updating-lead-fields.md): How to update a Lead's fields via API.
- [API - How to Recover or Delete Archived Leads](https://docs.sprinthub.com/en/topics/api/api-how-to-recover-or-delete-archived-leads.md)
- [API - Getting Custom Objects from the Lead](https://docs.sprinthub.com/en/topics/api/api-getting-custom-objects-from-the-lead.md): How to pull the custom objects from a Lead.
- [API - How to Create a Custom Object](https://docs.sprinthub.com/en/topics/api/api-how-to-create-a-custom-object.md): How to create Custom Objects dynamically through the Sprinthub API.
- [API - How to Relate a Custom Object to a Contact](https://docs.sprinthub.com/en/topics/api/api-how-to-relate-a-custom-object-to-a-contact.md): How to relate an existing Custom Object to a contact.
- [API - Getting and modifying Lead tags](https://docs.sprinthub.com/en/topics/api/api-getting-and-modifying-lead-tags.md): How to view, remove, and add a Lead's tags.
- [API - GET on Custom Reports](https://docs.sprinthub.com/en/topics/api/api-get-on-custom-reports.md): Using Custom Reports, you can access the data from these reports via API if you want to build these reports in an external system such as PowerBI, for example.
- [API - GET on Leads and Opportunities](https://docs.sprinthub.com/en/topics/api/api-get-on-leads-and-opportunities.md)
- [How to Schedule a Meeting via API](https://docs.sprinthub.com/en/topics/api/how-to-schedule-a-meeting-via-api.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinthub.com/en/topics/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
