Rest API
- Introduction
- GlobalWallets
- GlobalWalletAccessControl
- NameServices
- TestAccount
- CustomHostnames
- Exports
- Gates
- Settings
- Analytics
- Organizations
- Projects
- Custom Networks
- Chainalysis
- Environments
- Sessions
- Wallets
- Users
- Visits
- Members
- MfaSettings
- Invites
- ExternalJwt
- Origins
- UserApiTokens
- Tokens
- Allowlists
- Chains
- SDK Views
- Events
- Webhooks
- GETGet the Webhooks for an environment
- POSTCreates a new Webhooks for the project environment
- GETGet the Webhook for an environment
- PUTUpdate the Webhook for an environment
- DELDelete the Webhook for an environment
- GETGet the Messages for an webhook
- GETGet the Message deliveries for a webhook
- POSTRedeliver message for an webhook
- GET
- SDK
- Custom Fields
- DeeplinkUrls
- Mfa
- Waas
Webhooks
Creates a new Webhooks for the project environment
POST
/
environments
/
{environmentId}
/
webhooks
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks \
--header 'Content-Type: application/json' \
--data '{
"url": "https://website-sample.com",
"isEnabled": true,
"events": [
"An example name"
]
}'
Copy
Ask AI
{
"environmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"webhookId": "95b11417-f18f-457f-8804-68e361f9164f",
"url": "https://website-sample.com",
"secret": "<string>",
"version": "<string>",
"events": [
"<string>"
],
"isEnabled": true,
"enabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Path Parameters
ID of the environment
Required string length:
36
Example:
"95b11417-f18f-457f-8804-68e361f9164f"
Body
application/json
Response
201
application/json
Successfully created
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/webhooks \
--header 'Content-Type: application/json' \
--data '{
"url": "https://website-sample.com",
"isEnabled": true,
"events": [
"An example name"
]
}'
Copy
Ask AI
{
"environmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"webhookId": "95b11417-f18f-457f-8804-68e361f9164f",
"url": "https://website-sample.com",
"secret": "<string>",
"version": "<string>",
"events": [
"<string>"
],
"isEnabled": true,
"enabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.