Skip to content

API Keys

Wherobots API Keys allow you to authenticate with Wherobots Cloud for programmatic access to Wherobots APIs and services. They can be created by any Wherobots user and ensure that requests are executed as though they were made by the user themselves.

This enables usage of Wherobots APIs like the Spatial SQL API in scripts, CI/CD pipelines, or with Apache Airflow ETLs and other automated workflows.

Usage

To use an API key, you must include it in the X-API-KEY header of your HTTP requests.

Example

curl -H "X-API-KEY: your_api_key_here" https://api.cloud.wherobots.com/users/me

Create an API Key

  1. Begin by navigating to your user settings.

    Open Settings

  2. Once in your user settings, locate and select the button labelled "Create" next to the heading "API Keys".

    Click Create

  3. Provide a name for your new API key. Choose a name that is descriptive and meaningful, to help you remember its purpose in the future.

  4. Choose an expiration date for your API key.

  5. Click on the "Create" button. This action will generate your new API key.

    Create API Key

  6. Copy the API key. We do not allow you to view the API key again.

    Copy API Key

  7. Confirm the completion of the process by clicking on the "Close" button.

Warning

Store your newly created API key in a secure location. This could be a password manager or another secure digital environment. Remember, your API key is sensitive information and should be treated with the same level of security as your password.

Revoke an API Key

  1. Begin by navigating to your user settings.

    Open Settings

  2. Once in your user settings, locate the API key you wish to revoke.

  3. Click on the triple-dot icon to right right of the entry, then click "Revoke".

    Revoke API Key


Last update: May 17, 2024 15:42:27