Skip to content

Check your SEO health in minutes with my SEO by Daniel (me). Ensure correct on page Seo on your site Run a free audit →

Quick search

Introducing Beta API Support for Coz.jp (Plus n8n & Laravel Integrations)

The next evolution of Coz.Jp is on it's in the final testing phase. WE added API support and also created a N8N node for it and a Laravel Plugin. You can now automate your link shortening requirements esily, from your business tools.

News 5 min read
Introducing Beta API Support for Coz.jp (Plus n8n & Laravel Integrations)

After launching Coz.jp, I came to realize that while I loved the final result—especially its efficient architecture (more on that here: A production ready infrastructure)—it was missing a key piece to make it truly great for me. It was missing a way to easily integrate it with my other tools.

That's why I decided to add API support to the tool.

🚀 Beta API Support is Here

API support is finally available in beta! And not only that, I've also implemented an n8n node and a Laravel plugin to make integration with other projects and tools even easier.

The API

The API design is simple and focused on offering the fundamentals for automation. You can easily perform all the core actions on your links, including:

  • Creating
  • Reading
  • Listing
  • Editing
  • Deleting

The API uses a bearer token for authentication, which you can easily generate from the new Advanced Profile Feature section in your account.

The API is documented at https://coz.jp/docs/api.

Please note: For the duration of the beta, this documentation is only available to actively subscribed users. It will be made public for everyone after the official launch.

A JSON schema is also available, so you can import it directly into tools like Postman to debug your integration. (If you're not integrating it yourself, your developers will be very happy about this!)

Why an n8n Node?

After creating the API, I implemented a node for n8n. This allows even non-technical users to easily integrate Coz.jp into their business workflows.

Why n8n? Because I already have several workflows running with it. I even self-host it (I wrote an article on that here: Self-hosting n8n with Docker Compose and it's a very popular platform, which always helps. 😸

The Laravel Plugin

After adding the API and creating the n8n integration, I found myself wanting to integrate Coz.jp into one of my own Laravel projects. That's when I decided to create a Laravel plugin, thinking:

"If I need this, someone else probably does too."

Both the n8n node and the Laravel plugin expose all the core "Link" API methods, making them very easy to use.

Next Steps

This is all still a work in progress, and new features will follow. My next step is to dive deeper into how to use these new integrations. They each deserve their own detailed article, so I'll be writing those as the plugins are finalized and improved.

I suggest you subscribe to receive the next articles about the plugins and more behind-the-scenes deep dives.

In the meantime, remember to try Coz.jp and let me know what you think!

Related articles

More posts on similar topics you might enjoy.

All articles

Get my updates in your inbox

Register to be the first to receive my new articles on Laravel, DevOps, and more.

Subscribe to the newsletter

One email when new articles are published. No spam, unsubscribe anytime.

Protected by Mailcoach. Double opt-in may apply.