Webhook

Lista Inscrições de Webhook

Changed on
get/webhook/v1/subscription

Request

Query parameters

idstring

Id do contato

emailstring email

Email do contato

Response

Lista inscrições com sucesso

idstring required

Id da Inscrição

secretIdstring required

Id do Secret

namestring required

Nome da Inscrição

statusstring required

Status da Inscrição

urlstring required

Url do Webhook

eventsstring[] required

Eventos do Webhook

Example response

{
  "id": "yaeung4oaxt25pi0bzzycoezf",
  "secretId": "87fce2b9bbbf534fc91fa63fdb697a4e9b7f17205c2577ef2cb1f9757307c180",
  "name": "luno Assistiu a Aula",
  "status": "active",
  "url": "https://webhook.site/c8ff7d31-4fd9-40c7-8eca-b2334d996fb0",
  "events": [
    "nutror.lesson_watched"
  ]
}

Changes

    • info

      the query request parameter email became optional

    • info

      the query request parameter id became optional

    • breaking

      the query request parameter email became required

    • breaking

      the query request parameter id became required

    • breaking

      added the pattern ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to the query request parameter email

    • breaking

      for the query request parameter email, the format changed from no format to email