Account
Get the account
Returns the account that made the request: its name, the timezone bare days are read in, its currency and country, the add-ons it has access to (a resource behind an add-on not listed responds 402), whether it is in its trial period, the API key that made the request with its scopes, the usage limits the RateLimit-* headers report, and the version of this contract.
Request examples
curl https://app.filmo.io/api/v1/account \
--header "Authorization: Bearer $FILMO_API_KEY"Generated from the schema
It is the first call of any integration: it replaces guessing.
Authorizations
Bearer API key with the scope below. account:read
Headers
Conditional read: the ETag of the copy you already have. If the resource has not changed, the response is 304 with no body.
Example:"\"3sT3d9pBvZq4h2N0w8x1YkLmQ7c\""
Response
Successful response.
Response schema: AccountDto
Envelope: AccountResponse. meta. is present only when the operation is deprecated.
Headers: X-Request-Id · RateLimit-Limit · RateLimit-Remaining · RateLimit-Reset · ETag
The account that made the request, its key and its usage limits.
Show child attributesHide child attributes
Name of the account.
IANA timezone of the business, the one bare days in filters are read in.
ISO 4217 currency of the account; documents may carry their own.
ISO 3166-1 alpha-2 country of the business.
Default language of error messages for this key (BCP 47), unless Accept-Language says otherwise.
Ids of the add-ons the account has access to today. A resource behind an add-on not listed here responds 402.
Available options: platform, user-seat, connected-account, extra-tax-cif, qr-codes, incidence, purchases, activity-log, custom-fields, profitability, web-builder, crm, consignments, email-calendar, sales-documents, internal-bookings, internal-communication, advanced-user-permissions, ai-pack-25k, ai-pack-55k, ai-pack-115k
Trial period of the account.
Show child attributesHide child attributes
true while the trial of the account lasts: every add-on is unlocked.
End of the trial in ISO 8601 UTC; null if none.
The key that made the request. Never its secret.
Show child attributesHide child attributes
Identifier of the API key that made the request.
Name given to the key when it was created.
Scopes granted to the key, the ones its requests can use.
Usage limits of the key, the ones the RateLimit-* headers report.
Show child attributesHide child attributes
Requests per minute across the whole API.
Show child attributesHide child attributes
Requests per minute of the availability checks, counted apart.
Show child attributesHide child attributes
The contract this account is served with.
Show child attributesHide child attributes
Version of the public API contract.
Where the documentation of this version lives.
Additional information about the response.
Show child attributesHide child attributes
Lifecycle warnings; present only when the operation is deprecated.
Show child attributesHide child attributes
Stable warning code.
Available options: deprecated
For people: what is deprecated, until when, and what to use.
Day (YYYY-MM-DD) the operation stops being served.
operationId of the operation to use instead, or null if there is none.
Where the deprecation is documented (the changelog).
Not modified: the If-None-Match sent matches the current ETag. No body; the copy you have is current.
Headers: ETag
No body.
Authentication failed (unauthorized, api_key_invalid, api_key_revoked, api_key_expired, api_key_owner_inactive, api_key_owner_not_admin).
Headers: X-Request-Id · Content-Language
Not allowed (insufficient_scope: the API key does not have the required scope, named in requiredScope; forbidden: the owner of the key lacks the permission the operation requires). insufficient_scope is answered before the request counts against the rate limit, so it carries no RateLimit-* headers; forbidden does.
Headers: X-Request-Id · Content-Language
Rate limit exceeded (rate_limited): retry after Retry-After seconds; RateLimit-* says which quota ran out.
Headers: X-Request-Id · Content-Language · RateLimit-Limit · RateLimit-Remaining · RateLimit-Reset · Retry-After
Internal error (internal_error).
Headers: X-Request-Id · Content-Language · RateLimit-Limit · RateLimit-Remaining · RateLimit-Reset
Errors
401, 403, 429, 500 can be returned by any operation. Errors
Deprecation
This operation is not deprecated. Deprecations are announced with a Deprecation header and a sunset date. Versioning policy
Related
Related pages
Link to this section: Related pagesAccount & access
Account
The account that made the request, its key and its usage limits.
Was this page helpful?