Get the caller's organization
Returns the organization associated with the bearer token. Singleton endpoint — there is no `{organizationId}` in the path and there is no way for a caller to read a different organization's record. Today the organization model does not carry per-org plan or rate-limit overrides. The response stubs `plan` to `"free"` and populates `rateLimits` with the system-wide defaults (100 requests/min per org, 50 requests/min per endpoint). When per-org overrides land the same wire fields will start reflecting per-org values — the response shape is forwards-compatible.
GET
/organization
Authorization
Section titled “Authorization”bearerAuth``
AuthorizationBearer <token>
Salfio API tokens start with the literal prefix sk_live_ followed by 32 base62 characters (≈190 bits of entropy). Tokens are hashed at rest with argon2id and shown to the user only once at creation.
In: header
Response Body
Section titled “Response Body”application/json
application/json
application/json
curl -X GET "https://api.salfio.com/v1/organization"
{
"meta": {
"cursor": "string",
"hasMore": true
},
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "Acme Inc.",
"slug": "acme",
"plan": "free",
"defaultTimezone": "Europe/Amsterdam",
"defaultCurrency": "EUR",
"rateLimits": {
"organizationPerMinute": 100,
"endpointPerMinute": 50
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
{
"error": {
"code": "unauthorized",
"message": "Authentication required"
}
}
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded",
"details": {
"retry_after_seconds": 30
}
}
}