All API endpoints are authenticated using Bearer tokens. You’ll need to create an API key in the SELECT dashboard.In the navbar, head to Settings -> API Keys.Then, once you have an API key, you can use it to fill in the Authorization header with a Bearer token for your requests.
Many of these routes require an organization_id as a path parameter. This refers to the select organization associated with your API Key. It can be found in the select app by navigating to settings by clicking the gear in the bottom right of the page and viewing your profile information.
We use standard HTTP response codes to indicate the status or failure of API requests.If there is an error, the API response body will be JSON, and contain more detailed information on the nature of the error.Here’s an example of a response when you don’t include a required json body field. We use the Pydantic library to validate input and generate the error response.