# Authorization

By default, the API only returns published vendors. If a vendor is not published, no model is returned with `Reason: "FORBIDDEN"`. The published status is part of the JSON output:

* `isPublished`: When set to false the vendor is not published (yet). Instead it is in preparation, and expected to be visible at some point in the future.&#x20;

If you want to read vendors that are not published via the JSON API then you need to pass the API client/secret as HTTP headers as described in the [authentication](https://talque.gitbook.io/public/webhooks/authentication) section. Authorized API requests will also return vendors where `isPublished` is `false`, and you should handle this field accordingly.


---

# 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://talque.gitbook.io/public/json-api/vendors/authorization.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.
