# Authentication

This is a HTTP API secured by SSL so always use `https://api.placekey.io`. All request and response bodies will be JSON. Make sure to set your Content-Type header to application/json.

To get started you'll need an [API Key](https://dev.placekey.io/credentials).

Authentication to the API is done via API Keys. You can generate these from your account dashboard. You can make as many as you like but remember that rate-limiting applies to you across all of them so remember to revoke keys that aren't in use to ensure that some old program of yours isn't using up your quota.

All you have to do to be authenticated is to set the `apikey` header on your request to your API key.

```
curl --location --request POST 'https://api.placekey.io/v1/placekey' \
--header 'apikey: {{apikey}}'
```


---

# 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://docs.placekey.io/documentation/api-overview/authentication.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.
