Clay Icon

Understanding HTTP API Accounts and Adding API Keys

ยท
ยท

I am using the HTTP API action. I need to add an API Key for the service we are using. I saw this note about where to add API Keys but don't know what an "HTTP API account" is?

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    When using the HTTP API action, you'll need to include your API key in the request headers. Here's how to handle API keys: 1. For the service you're using, you'll typically add the API key directly in the Headers section of your HTTP API configuration. The most common way is using the Authorization header, which usually looks like: ```

    Authorization: Bearer <your-api-key> ```2. If you're on a paid plan and want to use your own API keys with supported data providers, you can add them through: โ€ข Profile picture > Settings > Connections section โ€ข OR โ€ข Through the Enrichment Panel > Account > Add AccountThis allows you to integrate your own API keys directly within your workflows.Note: The specific header format may vary depending on your service's requirements, so it's recommended to check their API documentation for the exact format they expect. Sources: Guide: Ways to save Clay credits | Documentation | Clay University HTTP API integration overview | Documentation | Clay University

  • Avatar of Ryan W.
    Ryan W.
    ยท
    ยท

    I want to reuse across HTTP API endpoints if there is a way to not have to update every sheet we have.

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    If you're on a paid plan (Starter, Explorer, or Pro), you can add your own API keys through two methods: 1. Profile picture > Settings > Connections section 2. Enrichment Panel > Account > Add AccountOnce you've added your API key through either method, you can select your account when setting up HTTP API enrichments, allowing you to reuse the same API key across different tables and endpoints.When setting up your HTTP API requests, you'll typically include this API key in the Headers section, commonly using the Authorization header format: Authorization: Bearer <your-api-key> Sources: HTTP API integration overview | Documentation | Clay University Guide: Ways to save Clay credits | Documentation | Clay University

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Great! Let me know if you need anything else.

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    Hi Ryan W.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: