POST
/
v5
/
app
/
inbound_webhooks
curl --request POST \
  --url https://api.whop.com/api/v5/app/inbound_webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filter_values": {},
  "discord_embed": {},
  "idempotent_key": "<string>",
  "timestamp": "<string>"
}'
{
  "id": "<string>",
  "filter_values": {},
  "discord_embed": {},
  "idempotent_key": "<string>",
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

App API key for /v5/app and /v5/company endpoints

Body

application/json
filter_values
object
required

The filter values of the inbound webhook

discord_embed
object
required

The discord embed of the inbound webhook

timestamp
string
required

The timestamp of the inbound webhook in ISO8601 format. Example: 2021-01-01T00:00:00Z

idempotent_key
string

The idempotent key of the inbound webhook

Response

201
application/json
A successful response
id
string
required

The ID of the inbound webhook, which will look like inwh_*************

filter_values
object
required

The filter values of the inbound webhook

discord_embed
object
required

The discord embed of the inbound webhook

timestamp
string
required

The timestamp of the inbound webhook in ISO8601 format. Example: 2021-01-01T00:00:00Z

idempotent_key
string | null

The idempotent key of the inbound webhook