Create, update and delete Short URLs from your account.Definitionhttps:// www.voodooSMS.com/vapi/server/short_urlMethodsGETRequired Parametersuid:System allocated username for API user configured within the VoodooSMS.com Portal in Send SMS>API SMS>HTTP API.pass:System password for API user configured within the VoodooSMS.com Portal in Send SMS>API SMS>HTTP API.file:An external file URL.Extensions: CSV, XLS, XLSX, PDF, Doc, DocX, TXT, JPG, JPEG, PNG.Size: Less than 10 MB.expiry:How long the file will be valid for.Example: 1h (1 hour)Valid formats: s = seconds * | * m = minutes * | * h = hour * | * d = day * | * w = week.method:How to handle your Short URL.Options: addsuid:This is only used in conjunction with the update and delete methods.The ID of your Short URL. This is generated with the add method.Optional Parametersformat:The format you wish the return status to be inDefault: XMLOptions: XML | JSONSingle textual message to single destinationsRequestResponse
200
Short URL generated Successfully
413
vsms.co/54b
5m
On success, the response header HTTP status code will be 200 OK confirming that the message is sent. If you try to send a message without authorisation, an error code of 401 Unauthorized will be received.SMS Response DetailsResponse CodeCodeTypeResponse200intOK400intRequired parameters are missing.400intInvalid file. You have given an invalid file extension. See documentation for valid extensions.400intInvalid expiry format. See documentation for valid formats.400intExpiry date cannot exceed 31 days.400intInvalid file. File cannot be validated, it may not be available.400intInvalid file. File size is greater than 10MB.400intShort URL could not be updated. Please try again, or contact support@voodoosms.com.400intThere was a problem processing your link. Please try again, or contact support@voodoosms.com.400intShort URL could not be deleted. Please try again, or contact support@voodoosms.com.400intInvalid method. Use ‘add, update or delete.’401intYour API credentials are invalid.