All Collections
Features
Features
How to Automatically Create a Link with the Expiration Date
How to Automatically Create a Link with the Expiration Date
Andy Kostenko avatar
Written by Andy Kostenko
Updated over a week ago

Short.io integrates with Zapier meaning that you can make magic with the short links.

Today, on the Short.io blog, we'll show how to set link expiration automatically for the newly created short URLs. Each time you shorten a link, it has an automatically implemented expiration date.

1. Go to Zapier.

2. Click Make a Zap.

Note: Automatic link expiration requires choosing Short.io as the "Action" app.

3. Choose the trigger app you want to integrate with. We select Twitter as an example.

twitter.jpg

4. Set all the required steps.

5. Choose Short.cm.

shortcm.jpg

6. Choose an action you want to happen after the trigger.

create-link.jpg

7. Connect your account by setting an API key: https://app.short.io/settings/integrations/api-key

api.jpg

8. Now set a template for your future short links.

  • Choose a domain.

  • Specify a long URL.

domain.jpg
  • Link Expiration Time. Input date and time you want the links to expire in.

Datetime fields take anything that can be interpreted to a date and time. The date formats supported:

  • +3h

  • 5pm tomorrow

  • next friday at noon

  • tomorrow at noon

  • next friday at 7pm

  • 2/13/2014 8pm EST

  • 2014-02-26T16:56 (standard ISO format)

  • 1393462573 (a UNIX timestamp)

link-expir.jpg

9. Input an expired URL to redirect the visitors to.

expired-url.jpg

10. Send a test to make sure settings are correct. The link expiration will be automatically set in a link-edit page.

Note: Link Expiration requires the PERSONAL plan.

Watch a video-guide below to customize an automatic link expiration. The video starts with the 5 step.

Did this answer your question?