post
https://dev-selfie-api.alocity.com/v1/account/webhook
This endpoint will create a webhook for your account. If a webhook exists for your account, it will be recreated with the URL provided. In order to obtain the secret for your webhook, please contact support. Note: be cautious when using this webhook, as it will replace any active webhook with a new one with a new secret.
Controlled Errors
These are the error codes that will be returned when the hasErrors property is equal to true.
| Error Code | Error Message |
|---|---|
| error_account_not_found | The account associated with the session Id provided was not found. |
| error_webhook_not_added | Failed to create the account webhook. |
