Webhooks

Os Webhooks notificam e ajudam-te a recolher informações sobre os principais eventos que acontecem no seu projeto no Crowdin, como traduções concluídas ou revisão. Depois de configurar um webhook para o projeto, o Crowdin começará a enviar solicitações POST ou GET com dados para a URL do webhook via HTTP.

Apenas os proprietários e gerentes de projetos podem registrar um webhook.

Casos de uso

You can add webhooks to build integrations with the services or with your backend. Por exemplo:

  • Set up a webhook to send notifications to the system you use.
  • Pass information to the third-party services with the specific request requirements (for example, HTTP method, сontent type).
  • Crie integrações personalizadas com Crowdin.

Eventos

You can configure webhooks for the following types of events:

Webhook Payload Examples

Visit Webhooks acticle on Crowdin Developer Portal.

Adicionar Webhooks

To configure webhooks in Crowdin, open your project and go to Integrations > Webhooks. Click Add Webhook to start configuring your new webhook.

You will need to provide the following information to register a webhook:

  • The webhook name (for example, “App Project Translated”).
  • O URL onde a chamada de retorno deve ser enviado.
  • The request method that indicates the desired action to be performed for a given resource (use either GET or POST).
  • The content type for the POST request method (multipart/form-data, application/json, or application/x-www-form-urlencoded).
  • For the application/json content type, you can select Batch webhooks to merge multiple events into a single request.
  • Os eventos par postar no URL. Podes selecionar um evento ou um conjunto específico de eventos.

When adding a webhook, click Test to see how your application will react to that call.

Add Webhook

Depending on your approach to webhooks management, you might need to add dedicated Crowdin IP addresses to your firewall to allow Crowdin to open the pre-configured webhook URLs.

Read more about IP Addresses.

Editar ou apagar webhooks

You can access the list of all existing webhooks within a specific project. You will be able to edit or delete webhooks right from the list of webhooks displayed.

Manage Webhooks

Histórico de chamadas

In the Calls History section you can see the list of calls of all webhooks that were added in the project. Use the filter to view all or only unsuccessful webhook notifications.

calls history

Procurando ajuda

Need help working with Webhooks or have any questions? Entre em contato com a equipe de suporte.

Este artigo foi útil?