Skip to main content

post_inbox_sync

Function post_inbox_sync 

Source
pub async fn post_inbox_sync(
    __arg0: State<App>,
    tn_id: TnId,
    __arg2: IdTag,
    __arg3: ConnectInfo<SocketAddr>,
    __arg4: OptionalRequestId,
    __arg5: Json<Inbox>,
) -> ClResult<(StatusCode, Json<ApiResponse<Value>>)>
Expand description

POST /api/inbox/sync - Synchronously process incoming action (e.g., IDP:REG)

This endpoint processes certain action types synchronously and returns the hook’s response. Used for action types like IDP:REG that need immediate feedback. Uses token-based authentication like /inbox but processes synchronously and returns the hook result.