Webhooks

Webhooks are used to notify external systems of changes within Struct PIM through a web request

Get a webhook

get

#Available from v.3.11.0

Authorizations
AuthorizationstringRequired
Path parameters
uidstring · uuidRequired

Uid of webhook

Responses
200

OK

application/json
get
/v1/webhooks/{uid}
200

OK

Delete a webhook

delete
Authorizations
AuthorizationstringRequired
Path parameters
uidstring · uuidRequired

Uid of webhook to delete

Responses
200

OK

No content

delete
/v1/webhooks/{uid}
200

OK

No content

Get all configured webhooks

get
Authorizations
AuthorizationstringRequired
Responses
200

OK

application/json
get
/v1/webhooks
200

OK

Create a new webhook

post
Authorizations
AuthorizationstringRequired
Body

Model representing a webhook

Uidstring · uuidOptional

Unique id of webhook

Titlestring | nullableOptional

Title of webhook

Urlstring | nullableOptional

Url for the webhook to request when triggered

ActivebooleanOptional

Activate / deactivate webhook

EnabledEventsstring[] | nullableOptional

Events this webhook shall act on

Responses
200

OK

No content

post
/v1/webhooks
200

OK

No content

Update a webhook

put
Authorizations
AuthorizationstringRequired
Body

Model representing a webhook

Uidstring · uuidOptional

Unique id of webhook

Titlestring | nullableOptional

Title of webhook

Urlstring | nullableOptional

Url for the webhook to request when triggered

ActivebooleanOptional

Activate / deactivate webhook

EnabledEventsstring[] | nullableOptional

Events this webhook shall act on

Responses
200

OK

No content

put
/v1/webhooks
200

OK

No content

Get requests made from a webhook. Note that webhook requests are only stored for 14 days

get
Authorizations
AuthorizationstringRequired
Path parameters
webhookUidstring · uuidRequired

Uid of webhook

Query parameters
sincestring · date-timeOptional

return webhook requests newer than this timestamp

onlyFailedbooleanOptional

Only return failed webhook requests

pageinteger · int32Optional

Page to get (1 is first page)

Responses
200

OK

application/json
get
/v1/webhooks/{webhookUid}/requests
200

OK

Get a specific request made from a webhook. Note that webhook requests are only stored for 14 days

get
Authorizations
AuthorizationstringRequired
Path parameters
webhookUidstring · uuidRequired

Uid of webhook

requestUidstring · uuidRequired

Uid of webhook request

Responses
200

OK

application/json
get
/v1/webhooks/{webhookUid}/requests/{requestUid}
200

OK

Last updated