webhooks

POST /v2/webhooks

Changed on

Request

  • Base URL
    https://api.loyaltylion.com
  • URL
    https://api.loyaltylion.com/v2/webhooks
  • Auth
    • HTTP bearer
    • or HTTP basic

Request body

Example request

{
  "webhook": {
    "address": "https://example.com/webhook"
  }
}

Response

201

Example response

{
  "webhook": {
    "address": "https://example.com/webhook"
  }
}

Changes

    • warning

      added the new program_events/customer.challenge_completed enum value to the / response property for the response status

    • warning

      added the new program_events/customer.challenge_milestone_approaching enum value to the / response property for the response status

    • warning

      added the new program_events/customer.challenge_milestone_reached enum value to the / response property for the response status

    • info

      added the new program_events/customer.challenge_completed enum value to the request property /

    • info

      added the new program_events/customer.challenge_milestone_approaching enum value to the request property /

    • info

      added the new program_events/customer.challenge_milestone_reached enum value to the request property /

    • info

      added the optional property / to the response with the status