@spiral You can specify that they need an API Key in Swagger. I usually use Stoplight Studio to edit my Swagger docs.
Something to this effect...
options:
security:
- API Key: []
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi!
I want to make api document for multiple client with the help of swagger UI
i have api's and want some api can access for public and some will private client and they will access only their api's endpoint and will use
Can you give me the best suggestion or example so that could solve my problem with the help of you
Thanks in advance
Please or to participate in this conversation.