Webhook Configuration
Create a new webhook configuration.
This endpoint allows you to create a new webhook configuration. A maximum of 10 webhook configurations can be created at any time.
post/api/v1/webhooks/
Request
- Base URLhttps://partnerapi-staging.depop.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"url": "https://example.com/webhooks",
"enabled": true,
"event_types": [
"v1:order.*",
"v1:product.update"
]
}Response
Webhook configuration was created successfully.
Example response
{
"webhook_id": "33a735f2-e68f-49b4-8192-45fb7ec50ce6",
"secret": "rncxmdh5v2b37etli3ajb0e8f3xvopel"
}Changes
No recorded changes to this operation across all 1 revision of this API.