# Inline Hook request payload object

**URL:** <https://devforum.okta.com/t/inline-hook-request-payload-object/31278>\
**Category:** API\
**Created:** [November 20, 2024, 7:18pm UTC](https://devforum.okta.com/t/inline-hook-request-payload-object/31278 "2024-11-20T19:18:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzy5012](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@dzy5012](https://devforum.okta.com/u/dzy5012)\
**Post date:** [November 20, 2024, 7:18pm UTC](https://devforum.okta.com/t/inline-hook-request-payload-object/31278/1 "2024-11-20T19:18:39Z")

</div>

I am trying to create an API for an inline hook to use to add claims during authentication.

I have been referencing this for input/output information:  
[Inline Hooks](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/InlineHook/#tag/InlineHook/operation/executeInlineHook)

I am able to get the POST to execute my API with json input information, but I want to convert that JSON object that comes in to a native okta object. From my research, I find that something called Okta.Sdk.Model.InlineHookBasePayload exists, but it drops the data payload for access/claims information. Does anyone know of the okta object that houses it?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [December 20, 2024, 7:19pm UTC](https://devforum.okta.com/t/inline-hook-request-payload-object/31278/2 "2024-12-20T19:19:09Z")

</div>

Closed on December 20, 2024, 7:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
