Uses of Class
com.sendly.exceptions.SendlyException
Packages that use SendlyException
-
Uses of SendlyException in com.sendly
Methods in com.sendly that throw SendlyExceptionModifier and TypeMethodDescriptioncom.google.gson.JsonObjectMake a DELETE request.com.google.gson.JsonObjectMake a GET request.com.google.gson.JsonObjectMake a PATCH request.com.google.gson.JsonObjectMake a POST request. -
Uses of SendlyException in com.sendly.exceptions
Subclasses of SendlyException in com.sendly.exceptionsModifier and TypeClassDescriptionclassThrown when the API key is invalid or missing.classThrown when the account has insufficient credits.classThrown when a network error occurs.classThrown when the requested resource is not found.classThrown when the rate limit is exceeded.classThrown when the request contains invalid parameters. -
Uses of SendlyException in com.sendly.resources
Methods in com.sendly.resources that throw SendlyExceptionModifier and TypeMethodDescriptionMessages.cancelScheduled(String id) Cancel a scheduled message.Create a new webhook endpoint.WebhooksResource.create(String url, List<String> events, String description, Map<String, Object> metadata) Create a new webhook endpoint with options.voidDelete a webhook.Get a message by ID.Get a specific webhook by ID.com.google.gson.JsonObjectAccountResource.getApiKeyUsage(String keyId) Get API key usage statistics.Get a batch by ID.AccountResource.getCredits()Get credit balance.WebhooksResource.getDeliveries(String webhookId) Get delivery history for a webhook.Messages.getScheduled(String id) Get a scheduled message by ID.Messages.list()List messages.Messages.list(ListMessagesRequest request) List messages with options.WebhooksResource.list()List all webhooks.Messages.listBatches()List all batches.Messages.listBatches(ListBatchesRequest request) List batches with options.Messages.listScheduled()List scheduled messages.Messages.listScheduled(ListScheduledMessagesRequest request) List scheduled messages with options.voidWebhooksResource.retryDelivery(String webhookId, String deliveryId) Retry a failed delivery.WebhooksResource.rotateSecret(String webhookId) Rotate the webhook signing secret.Messages.schedule(ScheduleMessageRequest request) Schedule a message for future delivery.Schedule a message for future delivery.Messages.send(SendMessageRequest request) Send an SMS message.Send an SMS message.Messages.sendBatch(SendBatchRequest request) Send a batch of messages.Test a webhook endpoint.WebhooksResource.update(String webhookId, String url, List<String> events, String description, Boolean isActive) Update a webhook configuration.