sinch.domains.numbers.api.v1.event_destinations_apis module

class sinch.domains.numbers.api.v1.event_destinations_apis.EventDestinations(sinch)[source]

Bases: BaseNumbers

get(
**kwargs,
) EventDestinationResponse[source]

Returns the event destination configuration for the specified project

Parameters:

kwargs (dict) – Additional parameters for the request.

Returns:

The event destination configuration for the project.

Return type:

EventDestinationResponse

For detailed documentation, visit: https://developers.sinch.com

update(
hmac_secret: str,
**kwargs,
) EventDestinationResponse[source]

Updates the event destination configuration for the specified project

Parameters:
  • hmac_secret (str) – The HMAC secret used to sign the event destination requests.

  • kwargs (dict) – Additional parameters for the request.

Returns:

The updated event destination configuration for the project.

Return type:

EventDestinationResponse

For detailed documentation, visit https://developers.sinch.com