Skip to main content

GET /me

Summary

Get API key info

Returns information about the authenticated API key — name, description, scopes, rate limit, IP allowlist, expiry, and linked companies. No additional scope is required beyond a valid API key.

URL Parameters

  • None

Query Parameters

  • None

Request Body Fields

No request body is accepted for this endpoint.

Request Example

curl -X GET 'https://api.requidex.com/api/open/v1/me' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields

FieldTypeDescription
namestringAPI key name
descriptionstringOptional description for this API key
scopesarrayScopes granted to this key (e.g. read:projects, read:workers, read:purchase-orders, read:invoices, read:credit-notes)
rateLimitPerMinuteintegerMaximum requests allowed per minute
rateLimitPerDayintegerMaximum requests allowed per day. Daily limits reset at midnight UTC.
ipAllowlistarrayAllowed IP addresses or CIDR ranges. Empty array means no restriction.
expiresAtstringExpiry timestamp, or null if the key does not expire
lastUsedAtstringTimestamp of the most recent request made with this key, or null if never used
usageobjectCurrent daily usage information for this API key.
Show child attributes
  • requestsToday integer - Requests recorded so far today
  • remainingToday integer - Remaining requests available before the daily cap is reached
  • resetsAt string - Timestamp when the daily usage window resets (midnight UTC)
companiesarrayCompanies this key is linked to. Empty for master keys.
Show child attributes
  • id string
  • name string
createdAtstringTimestamp this key was created

Response Example (200)

{
"success": true,
"data": {
"name": "Data Warehouse Sync",
"description": "Used for nightly ETL pipeline",
"scopes": ["read:companies", "read:trades", "read:projects", "read:workers", "read:purchase-orders", "read:invoices", "read:credit-notes"],
"rateLimitPerMinute": 60,
"rateLimitPerDay": 5000,
"ipAllowlist": ["203.0.113.0/24"],
"expiresAt": "2027-01-01T00:00:00.000Z",
"lastUsedAt": "2026-03-16T09:30:00.000Z",
"usage": {
"requestsToday": 127,
"remainingToday": 4873,
"resetsAt": "2026-03-17T00:00:00.000Z"
},
"companies": [
{ "id": "67bc36db80a1616ec3f47001", "name": "Requidex Construction Ltd" },
{ "id": "67bc36db80a1616ec3f47002", "name": "Requidex Infrastructure Ltd" }
],
"createdAt": "2025-06-01T10:00:00.000Z"
}
}

Errors

HTTP StatusDescription
401Missing, invalid, revoked, or expired API key
405Method not allowed on Open API routes
429Rate limit exceeded
500Unexpected internal error