Cliquéalo Help Center
Developers

API keys

Create an API key for your system, store it somewhere safe, check when it was used, and revoke it when you no longer need it.

An API key is the password your system uses to connect to Cliquéalo. Each one has a name and its permissions, and it can only do what you gave it. Treat it like a password: don't share it or put it on a public page.

Before you start

  • Your agency has to be signed up as a developer; if it isn't, instead of the form you see «Antes de crear una API key, da de alta a tu agencia como developer.» ("Before creating an API key, sign your agency up as a developer.") with «Darme de alta» ("Sign me up"). See Developer sign-up.
  • You need the «Gestionar integraciones de la agencia» ("Manage the agency's integrations") permission. With «Ver integraciones de la agencia» ("See the agency's integrations") you only see the list.
  • How many active API keys you can have depends on your plan. You see it above the list, for example «1 activa de 1 API key que permite tu plan. Revoca una para crear otra.» ("1 active of the 1 API key your plan allows. Revoke one to create another.").
  • Open the developer console and tap «API keys» in the side menu.

Create an API key

Tap «Nueva key»

«Nueva key» ("New key") is at the top right. If you don't see it, you already have all the API keys your plan allows or your role can only view.

Give it a name

In «Nombre» ("Name") type something to recognize it in the list, for example «Sitio web» ("Website") or «Sistema del lote» ("Lot system").

Choose its permissions

In «Permisos» ("Permissions") check only what your system needs. You see the ones your plan includes; «Leer tu inventario» comes already checked. Next to each one is its code, which is the one the API documentation uses, and how many requests per hour your plan allows.

  • «Leer tu inventario» ("Read your inventory", inventario:leer): look up your published cars with their photos, price, and status.
  • «Cambiar tu inventario» ("Change your inventory", inventario:escribir): add cars as drafts, change their price and other details, and archive them.
  • «Crear cotizaciones» ("Create quotes", cotizaciones:crear): record your customers' quotes in Cliquéalo.
  • «Leer el catálogo» ("Read the catalog", catalogo:leer): look up the makes, models, and trims Cliquéalo uses.
  • «Informar otras plataformas» ("Report other platforms", plataformas:reportar): tell Cliquéalo on which other platforms each car is published.

Create it

Tap «Crear API key» ("Create API key"). While it's being created it says «Creando…» ("Creating…").

Copy it and store it

You see «Tu API key «…» está lista» ("Your API key «…» is ready") with the warning «Guárdala: no la volverás a ver.» ("Save it: you won't see it again."). Tap «Copiar» ("Copy"; it changes to «Copiada», "Copied") and store it somewhere safe, for example your team's password manager, or paste it straight into your system. When you're done, tap «Ya la guardé» ("I saved it") to go back to the list.

You only see it once

Once you leave that screen, whether with «Ya la guardé», by reloading, or by going somewhere else, there's no way to see the full API key again. No one at Cliquéalo can recover it. In the list you only see its first characters so you can recognize it. If you lose it, revoke it and create another one.

The list

Active API keys show up in a table:

  • «Nombre» ("Name"), with the key's first characters below it.
  • «Permisos» ("Permissions"), with the name of each permission you gave it.
  • «Creada» ("Created"), with the date.
  • «Último uso» ("Last used"), with the date and time your system last used it, or «Nunca» ("Never").

On small screens «Permisos» and «Creada» are hidden.

Below, under «Revocadas» ("Revoked"), are the ones you retired, with their date: «Revocada el…» ("Revoked on…"). They no longer work to connect.

Revoke an API key

Revoke it when you no longer use it, when you switch systems, or if you think someone else has it.

Tap «Revocar»

«Revocar» ("Revoke") is at the end of its row. «Revocar la API key «…»» ("Revoke the API key «…»") opens with its first characters so you can confirm it's the right one.

Confirm

Tap «Revocar API key» ("Revoke API key"). Meanwhile it says «Revocando…» ("Revoking…"). When it's done you see the notice «Revocaste la API key «…».» ("You revoked the API key «…».") and the key moves to «Revocadas».

From that moment on, whatever uses that API key can no longer connect to Cliquéalo. It can't be undone: if you need it again, create a new one and put it in your system.

If someone on your team revoked it before you, for example from another tab, you also see «Revocaste la API key «…».» and the key ends up under «Revocadas».

If your agency's API is paused

The Cliquéalo team can pause your agency's API, for example if something in your developer sign-up doesn't add up or if it thinks someone outside your agency is using your API keys. While the pause lasts:

  • At the top of every console screen you see «La API de tu agencia está en pausa.» ("Your agency's API is paused.") with «Tus API keys y tus apps de IA no pueden consultar ni cambiar tu inventario. Escríbenos para saber por qué.» ("Your API keys and your AI apps can't read or change your inventory. Write to us to find out why.").
  • Every request your system makes with an API key gets «La API key no es válida o ya no está activa.» ("The API key isn't valid or is no longer active."), even though the key is still active in the list. Don't revoke it or create another one because of this: while the API is paused, none of them work.
  • Your AI apps are still listed in «Apps de IA», but they can't read or change your inventory.
  • Your notification addresses keep receiving notifications.
  • You can still open the console, create and revoke API keys, and change your developer sign-up.

To find out why and what to do, tap «Escríbenos» ("Write to us") in the notice. When the Cliquéalo team lifts the pause, the notice goes away and your API keys and AI apps work again without you creating or connecting anything again.

The usual case

You create the API key «Sitio web» with «Leer tu inventario», paste it into your website, and in «Último uso» you see when it last read your inventory.

Something doesn't work the first time

You already have all the API keys your plan allows: you don't see «Nueva key» and above the list it says «Revoca una para crear otra.». Revoke one you no longer use or change plans.

Worst case

You lost an API key or think someone else has it: revoke it, create another one, and put it in your system.

Special case

Your role can only view: above the list it says «Tu rol puede verlas, pero no crear ni revocar API keys.» ("Your role can see them, but not create or revoke API keys.") and there are no buttons.

Special case

API paused

Your system stops connecting and the console says «La API de tu agencia está en pausa.»: the Cliquéalo team paused your API. Tap «Escríbenos» to find out why; your API keys work again once they lift the pause.

Errors

What you see · When creating an API key

«Tu plan ya no permite más API keys activas. Revoca una o cambia de plan.»

Your plan doesn't allow more active API keys. Revoke one or change plans.

What it means. While you were filling out the form another API key was created and you reached the number your plan allows.

What to do.

  1. Go back to «API keys» in the developer console.
  2. Revoke one you no longer use, or change to a plan with more API keys.

What you see · When creating an API key

«Uno de los permisos que elegiste no está incluido en tu plan.»

One of the permissions you chose isn't included in your plan.

What it means. Your plan changed while you were filling out the form and it no longer includes one of the checked permissions.

What to do.

  1. Reload the page.
  2. Choose the permissions again; only the ones in your plan show up.

What you see · When creating an API key

«No pudimos crear la API key. Vuelve a intentarlo.»

We couldn't create the API key. Try again.

What it means. Something failed on our side and the API key wasn't created.

What to do.

  1. Tap «Crear API key» again.
  2. If it happens again, try in a few minutes.

What you see · When creating an API key

«Por ahora no podemos crear API keys. Vuelve a intentarlo en unos minutos.»

We can't create API keys right now. Try again in a few minutes.

What it means. Creating API keys isn't available at the moment. No key was created.

What to do.

  1. Wait a few minutes and tap «Crear API key» again.

What you see · When revoking

«No encontramos esa API key en esta agencia. Recarga la página.»

We couldn't find that API key in this agency. Reload the page.

What it means. The screen belonged to another agency, for example because you switched agencies in another tab.

What to do.

  1. Reload the page and check that you're in the right agency.

What you see · When creating or revoking

«Tu rol puede ver esta sección, pero no hacer cambios en ella.»

Your role can see this section, but not make changes to it.

What it means. Your role has «Ver integraciones de la agencia», but not «Gestionar integraciones de la agencia».

What to do.

  1. Ask whoever manages your agency to give you that permission in the «Control de la cuenta» ("Account control").