# Peeringhub STI-API

PeeringHub.io offers a simplified and developer-friendly set of APIs to help you generate your STIR/SHAKEN certificate with ease. These APIs abstract the complexity of the underlying ACME protocol, allowing you to integrate certificate issuance into your workflow quickly and efficiently.

The certificate generation process involves three key steps:

#### Step 1: Generate Your Authentication Token

Obtain an auth token to securely interact with the PeeringHub API.

#### Step 2: Generate a Private Key

Create a private key that will be used in the certificate request process.

#### Step 3: Request Your STIR/SHAKEN Certificate

Use the authentication token and private key to request and obtain your certificate.

This section provides step-by-step examples demonstrating how to use PeeringHub.io's APIs for each stage of the process.


---

# 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://doc.peeringhub.io/guides/peeringhub-sti-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.
