Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the Clay user and workspace associated with the API key.
cURL
curl --request GET \ --url https://api.clay.com/public/v0/me \ --header 'clay-api-key: <api-key>'
const options = {method: 'GET', headers: {'clay-api-key': '<api-key>'}}; fetch('https://api.clay.com/public/v0/me', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.clay.com/public/v0/me" headers = {"clay-api-key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "user": { "id": "<string>", "name": "<string>", "cli_onboarded": true }, "workspace": { "id": "<string>" } }
{ "message": "<string>" }
Personal API key tied to your Clay user. Create one under Settings → Account in the Clay app.
200
Show child attributes