← Back to Help Center

    SDK & API Reference

    Available SDKs

    Authentication

    All requests require a Publisher API key in the Authorization header:

    Authorization: Bearer YOUR_API_KEY

    Get your API key from the Gravity Dashboard.

    Quick start (REST API)

    curl -X POST https://server.trygravity.ai/ad \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"message": "What CRM should I use?"}'

    Resources