Skip to main content
Welcome to the Weir AI API v1.0.1 Quick Start Guide! This guide will get you from zero to making your first API call in just a few minutes.

Prerequisites

Before you begin, ensure you have:

API Credentials

Access to Weir AI API credentials (API key or basic auth credentials)

Development Environment

A development environment with your preferred programming language

HTTP Client

A tool to make HTTP requests (curl, Postman, or your preferred client)

Basic API Knowledge

Familiarity with REST APIs and JSON (we’ll guide you through everything)

Choose Your API Category

Weir AI API v1.0.1 offers different API categories for different use cases:

External APIs

For: Third-party integrations and public-facing applications
  • Generate access tokens for external applications
  • Basic authentication with client credentials
  • Limited scope for public integrations
Use External APIs when building integrations that will be used by external developers or third-party applications.
For: Organization management and internal operations
  • Team management and member invitations
  • Platform creation and management
  • Client and talent roster management
  • User profile and authentication management
  • Subscription and billing management
Use Console APIs for building internal management tools and organization administration features.
For: Platform administration and system management
  • Administrative user management
  • System-wide platform and organization management
  • Pod management and system control
  • Mail template management
  • Comprehensive logging and monitoring
Admin APIs require special administrative privileges and should only be used by authorized system administrators.

Step 1: Set Up Authentication

For External APIs

Get Your Credentials

Obtain your clientId and secretKey from the Weir AI dashboard.

Generate Access Token

Use basic authentication to generate an access token.

For Console APIs

Register or Login

Create an account or login to get your console credentials.

Validate Registration

If registration requires validation, use the OTP validation endpoint.

Login and Get Tokens

Login to get your access and refresh tokens.

Step 2: Make Your First API Call

External API Example

Set Up Your Request

Use the access token from Step 1 to make authenticated requests.

Console API Example - Create a Team

Create Your First Team

Use the Console API to create a team for your organization.

Invite Team Members

Invite members to your newly created team.

Step 3: Explore Advanced Features

Platform Management

Create a Platform

Create a platform for your organization.

Verify Your Platform

Verify your platform domain.

Client Management

Create a Client

Create a client for your platform.

Step 4: Handle Authentication Refresh

Refresh Your Token

When your access token expires, use the refresh token to get a new one.

Step 5: Error Handling

Handle Common Errors

Learn how to handle common API errors gracefully.
401 Unauthorized
Solution: Refresh your token or re-authenticate.
400 Bad Request
Solution: Check your request parameters and fix validation errors.
429 Too Many Requests
Solution: Implement exponential backoff and respect rate limits.

Next Steps

Explore API Reference

Dive deep into the complete API reference with detailed endpoint documentation, parameters, and response examples.

Try the API Playground

Test endpoints interactively in your browser with our built-in API playground.

Read Integration Guides

Learn best practices and integration patterns for different use cases.

Join the Community

Connect with other developers and get help from the Weir AI community.

Common Use Cases

Use External APIs to build integrations that other developers can use. Focus on authentication and basic API access.
Use Console APIs to build internal tools for managing teams, platforms, and users within your organization.
Use Admin APIs to build administrative tools for managing the entire Weir AI platform and system resources.
Pro Tip: Start with the API Playground to explore endpoints interactively, then use the detailed API reference for implementation. The integration guides provide real-world patterns and best practices.
Congratulations! You’ve successfully set up Weir AI API v1.0.1 and made your first API calls. You’re now ready to build powerful integrations with our platform.