Quickstart

Make your first authenticated request in five minutes.

This page walks you through making your first authenticated request. If you plan to act on behalf of a user, jump straight to the OAuth walkthrough instead.

1. Get an API token

Sign in at temporal.today, open Settings → API tokens, and create a new token. Copy it now — it is shown once.

API tokens grant full access to your account. Treat them like passwords: never commit them, never paste them into chat, and rotate them if you suspect they leaked.

2. Make a request

The API base URL is https://api.agenticdeveloperhub.com. Authenticate every request with Authorization: Bearer <token>.

curl https://api.agenticdeveloperhub.com/api/auth/me \
  -H "Authorization: Bearer $ADH_TOKEN"
const res = await fetch(
  'https://api.agenticdeveloperhub.com/api/auth/me',
  { headers: { Authorization: `Bearer ${process.env.ADH_TOKEN}` } },
);
const me = await res.json();
console.log(me);
var req = URLRequest(url: URL(string: "https://api.agenticdeveloperhub.com/api/auth/me")!)
req.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, _) = try await URLSession.shared.data(for: req)
print(String(data: data, encoding: .utf8) ?? "")
val client = HttpClient(CIO) {
    install(Auth) {
        bearer { loadTokens { BearerTokens(token, "") } }
    }
}
val me = client.get("https://api.agenticdeveloperhub.com/api/auth/me").bodyAsText()
println(me)

A 200 response with your user profile means you're authenticated.

3. Explore from here

  • The full endpoint catalogue lives in the API reference.
  • If you need to call the API as a different user, set up OAuth instead of using a personal token.
  • Errors and response shapes are documented in Errors.