ppl-ai / api-discussion

Discussion forum for Perplexity API
5 stars 0 forks source link

How to Obtain Bearer Token and Additional Usage Examples for Perplexity API #56

Closed Bhornumnard closed 1 month ago

Bhornumnard commented 1 month ago

API Reference

I noticed that the Perplexity API Reference page only lists one route for calling the Chat Completions API. However, there is a mention of a Bearer token in the headers, but there is no information or sample on how to obtain this token for use in the Chat Completions requests.

Could you provide guidance on how to retrieve the token, and perhaps share additional examples demonstrating the usage of the Perplexity API?

aarashy commented 1 month ago

Hey, check https://docs.perplexity.ai/guides/getting-started