The REST API is described by an OpenAPI 3.0 document that is generated from the live routes, so it never drifts from the API.
| Format | URL |
|---|---|
| OpenAPI 3.0 (JSON) | https://awardtravelfinder.com/api-docs/openapi.json |
| OpenAPI (YAML, used by ChatGPT Actions) | https://awardtravelfinder.com/.well-known/openapi.yaml |
| Swagger UI | https://awardtravelfinder.com/api-docs/swagger |
Use it
bash
curl https://awardtravelfinder.com/api-docs/openapi.json
Import the JSON URL into Postman, Insomnia or Swagger UI, or feed it to a code generator to get a typed client. Authentication is an X-API-Key header or an Authorization: Bearer token, declared in the document's security schemes.
ChatGPT Custom GPTs
A Custom GPT can call the REST API through Actions. Import the YAML schema:
text
https://awardtravelfinder.com/.well-known/openapi.yaml
Related
- REST API overview for authentication, errors and limits.
- Award search endpoints and Agent API endpoints for the human-readable reference.