---
id: get-webhook-payload-content-types
title: "List all webhook content types"
description: "This endpoint lists the payload content types that a webhook can use. Use one of these values in the `contentType` field when you create or update a webhook. The server posts the payload as a JSON body for `application/json`. For `application/x-www-form-urlencoded`, the server makes a string of the payload and posts it as a form under the `payload` key. Note the capital `C` in the `ContentTypes` response field. The order of the values changes between calls."
sidebar_label: "List all webhook content types"
hide_title: true
hide_table_of_contents: true
api: eJztVs1u2zgQfhVCpxawZdebvQRFsWnaLdIWaYGk6KEIIFoaS2xkUiWpOF7Dt32SfbR9kv2Gom1ZSbEo9lbsITFFcv6+Gc43m6SgxlIuPRXJ6ULWjkbYcrlVjVdGJ6fJdaWcIF00RmkvauW8E74i0ch1bWQhcqM94cSvG+IT6YUUK5pXxtyKXGrROkrFJ0fCaPwtWBgfd7JucV/poCyLWq6hJBMLRXUhVhVpsTatyC3BP2GsaJuCV3v9qbiGsCN7R1Y0ZuiadLj69urDpZibYi0W0JDJpqkV4kVwk6/O6CwVvw/378er1WqM68txa2vSuSmoyEZBdzS2lLfE2p23SpcxrINhXUR3lO+8YGWi1QVEQ7zxZiZuaZ2KS4OoeD+XjfKyFtl5tofm/ACNy4Ql1xgNAANIHQDGst7oQwQ2r6Qu8TsnvyIAmcu6dmkySkxDNoR5gYwnJfnPHZYfO4/61nB7Z84lp5tkNp3yT8wVL4do8p7LK1pKXjWWjXnVSR9pxvewzH6wpOAc3ctlU1Ny+uWhI6PkXzOa3IwS5Wn5iDdnj/oSbOp2+V8Msh4Y6Oom2e43pLVynWy3DPm3Vll+j1+OMTtIm/lXyj1ub4ev9cM7OFKRREFwWHzhZPrsh7LWt0/WGnsO3zlyXr/qWXvgz2iQ8YM0PuJVNBEqyfazdzKdbh9Rf5CJYPVEkpdIjdJN65EoK5fkoXK7fQSQT1q2vjJW/YGIhtD8+oMF/XNBcwF7VqPbxJ4WzAwwgpCjvLXKrxH0Jjlr1Dvi5c12tElekrRkzwBw2OGoZekYndhUGAh4UJnYaxgHybeTyd1sAtwXqpzEl+0m8c1NYj7GPjahzj8XHDgO4RUtTXQf9/DSsFd537jTyaTA2Rj9NFWlldqnyiTs87GCKzjMDfw7Olx3PFRzc0Dlioujy+kOm31yZLeBLsOmOljxpZEU7jGxLkOxJcPknH28YG4QXL3AItZk1+9Di9/1++xITyY6M2LZOo/mL8DuC3VPoFPlK1wOLolMPNE7zvFWqjpg0Micno4EpWU6UHsqouBzELJlOMZw7kWWcgfrV8EmmYcvcOpS4kUlbz9fP4wtz8mhsZtbEFMjndu512mKPjMBHjkh9giGF8kYdsaS/WvjvIUmqvTC7J62zMPTxhtWnFvXNo2x/rdDPvcpUW8OW8eF0K+hQTR7IfHk7z//eioU8/3VigrlKoF5RQq679g4zAUoM7WI6Qxlp3LOkrlTiC0VF57ZzeGkXoydwW1SpRY4RBH49SjKy3lNPBiFbYxtI9gsVBmGhxWonnww5kyteBQphKe80qY2JRoQUqyhgHMuhaaVqOmOai4obkGhT8k5asKvgxKUoEEy+Xpu0GSU1HA5JCyEZ6ls6xBPmOcw7LR1zZVbwB32cym1RmwAFb2VME1wOnavAEWHIpyl0weYg0FTGY5TY8tJlHWT9xfnry+vXo9ZhglU+fooeYLfTmHydglwdq+LG0iXr9l0dpL+kj5jWR7S4F3Pn/cYcAUAPMwb/WFkWMo97vh/UP7JBuXYUjzd+0lTS/TwbazQTSSxL8ndDBc7GsNiR2SB5YLb3WmPzMAcFeJl2c1mLh19svV2y9vfWrKBWFGr0oYH3tHsjjiY/W6ZX0L/bJhLQwiBaAZTy7bPu29ecwuWsT8fuOk2cFNcsPbdkV73dA9pqnOB/zObPirynB8g2OLF/np38l2BfWPvbjPUN5g9/gEY6iTB
sidebar_class_name: "get api-method"
info_path: docs/datamarketplace-api/igrant-io-api-documentation
custom_edit_url: null
---

> **Build this with an AI coding agent.** Install the iGrant.io Agent Skills, then ask your agent to build the integration:
>
> ```bash
> npx skills add L3-iGrant/skills
> ```


import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<h1 className={"openapi__heading"}>List all webhook content types</h1>

<MethodEndpoint method={"get"} path={"/v2/config/webhooks/payload/content-types"}></MethodEndpoint>



This endpoint lists the payload content types that a webhook can use. Use one of these values in the `contentType` field when you create or update a webhook. The server posts the payload as a JSON body for `application/json`. For `application/x-www-form-urlencoded`, the server makes a string of the payload and posts it as a form under the `payload` key. Note the capital `C` in the `ContentTypes` response field. The order of the values changes between calls.

<div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

OK

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"ContentTypes"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`application/json`, `application/x-www-form-urlencoded`]"} schema={{"description":"The payload content types that a webhook can use.","example":["application/json","application/x-www-form-urlencoded"],"items":{"description":"A payload content type.","enum":["application/json","application/x-www-form-urlencoded"],"type":"string"},"type":"array"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"ContentTypes\": [\n    \"application/json\",\n    \"application/x-www-form-urlencoded\"\n  ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

Unauthorized

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Internal server error

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      