Skip to main content

API reference

Identity

Resolve the account, user, and key behind a credential.

1 endpoint. Every path below is relative to the base URL.

On this page
Base URL
https://api-uat.softsages.com/core

GET/api/v1/inkfree/me

Get the authenticated identity

Requires the X-API-Key header

Returns the account, app, creator user, key metadata, and capability list that the supplied X-API-Key resolves to. Use this to verify a credential and to read the key's effective rate limit and expiry.

Responses

200

Identity behind the API key.

Returns MeResponse

FieldTypeRequiredDescription
accountstringOptionalTenant account the key belongs to.
appstringOptionalApplication the key is scoped to.
userobjectOptionalCreator user the key is bound to. Envelopes created via the API are attributed to this user.
emailstring (email)Optional
first_namestringOptional
last_namestringOptional
keyobjectOptional
idstringOptionalKey id — a UUID. Safe to log; the secret value is not.
namestringOptionalLabel given at creation.
rate_limit_per_minintegerOptionalEffective per-minute request limit for this key. Omitted when the account default of 60 applies.
expires_onstringOptionalExpiry timestamp in MM/dd/yyyy HH:mm:ss, or absent if the key does not expire.
capabilitiesstring[]OptionalCapabilities granted to this key.
200 response
{
  "account": "acme",
  "app": "inkfree",
  "user": {
    "email": "ops@acme.com",
    "first_name": "Dana",
    "last_name": "Reed"
  },
  "key": {
    "id": "3f9a1c02-6b7e-4d18-9a5c-2e8b4f6d0a13",
    "name": "Zapier production",
    "rate_limit_per_min": 60,
    "expires_on": "01/01/2027 00:00:00"
  },
  "capabilities": [
    "envelopes:read",
    "envelopes:write",
    "webhooks:manage"
  ]
}
401

The API key is missing, malformed, unknown, expired, revoked, or inactive.

Returns Error

401 response
{
  "code": 401,
  "message": "Invalid API key"
}
429

Per-key rate limit exceeded. Back off and retry.

Returns Error

429 response
{
  "code": 429,
  "message": "Rate limit exceeded. Try again later."
}

Example request

curl
curl "https://api-uat.softsages.com/core/api/v1/inkfree/me" \
  -H "X-API-Key: sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"