Organizations

Get document types for the current user organization

GET
/api/organizations/document-types/user

Returns the document types configured for the caller's own organization, resolved from the bearer token. Convenience endpoint for clients that do not have the organizationId on hand.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/organizations/document-types/user"
{  "documentTypes": [    {      "name": "Credit Bureau",      "isRequired": true    },    {      "name": "Paystub",      "isRequired": true    },    {      "name": "Bank Statement",      "isRequired": false    }  ]}