Make Your First API Call

Let’s make a simple call to fetch the currently authenticated user using your API token. This endpoint requires a valid Bearer token and returns information about your API user.

📍 Endpoint: GET /api/v1/auth 🛡 Requires Authentication (Bearer token)

Request Headers

Header
Required
Example

Authorization

Bearer YOUR_API_TOKEN

Accept

application/json

Example Code

curl -X GET https://public-api-dev.gurupay.eu/api/v1/auth \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Last updated

Was this helpful?