Application

Read this application's own registration

GET
/api/v1/manage/application/

The application the presented API key belongs to. Never another one.

Authorization

apiKey
AuthorizationBearer <token>

An API key, presented as Authorization: Bearer eitozx_…. Carries the Application's own authority rather than authority a user delegated to it, and reaches only users who currently hold a grant with that Application. An organization's key reaches every application the organization owns and names the one it acts on in the Onefold-Application header. Not interchangeable with an OAuth2 access token despite the shared scheme.

In: header

Header Parameters

Onefold-Application?string

The id of the application this call acts on. Required with an organization API key, which reaches every application its organization owns; ignored with an application's own key, which always acts on its application.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

Error codes

Every error response carries one of these in its code field. Branch on the code, never on the detail text.

Statuscode
400validation_failed, parse_error, api_key_application_required
401not_authenticated, authentication_failed
403permission_denied, api_key_scope_missing
404api_key_application_not_found
429rate_limited

Before you run the sample

  • Replace YOUR_API_KEY with your API key.
  • The key needs the application:read scope, or no scopes at all.
curl -X GET "https://example.com/api/v1/manage/application/"
{  "allowed_origins": [    "string"  ],  "client_id": "string",  "client_type": "confidential",  "created": "2019-08-24T14:15:22Z",  "description": "string",  "email_otp_login_enabled": true,  "homepage_url": "http://example.com",  "id": "1400000000000000000",  "logo_url": "string",  "magic_link_login_enabled": true,  "name": "string",  "organization": {    "avatar_url": "string",    "id": "1400000000000000000",    "name": "string",    "slug": "string"  },  "passkey_login_enabled": true,  "password_login_enabled": true,  "privacy_policy_url": "http://example.com",  "redirect_uris": [    "string"  ],  "requested_scopes": null,  "sign_in_providers": {    "property1": true,    "property2": true  },  "support_email": "user@example.com",  "terms_of_service_url": "http://example.com",  "updated": "2019-08-24T14:15:22Z"}