API Reference

Postman Collections

Download pre-built Postman collections for testing every API endpoint in the Teamcast Maya platform.

Three ready-to-import Postman collections cover the entire Teamcast Maya API surface -- 96+ requests organized by domain, with auto-extraction scripts that save tokens, IDs, and runIds to environment variables as you test.

External integrators (ATS / HRIS): You only need the Interview Integration APIs collection. It uses API key authentication only -- no JWT, no login required. Teamcast provisions your API key and Tenant ID for you. That is all you need to run the full interview lifecycle.

The Platform Admin and Tenant Admin collections are for Teamcast internal staff managing the platform dashboard and provisioning tenants. Platform Admin has read-only access to API keys -- API keys are issued exclusively by Teamcast Super Admin.
Postman

Import into Postman

Download the JSON files below, then use File > Import in Postman (or drag-and-drop) to load them instantly.

Environment Setup

Start by importing the shared environment file. It contains all variables used across the three collections -- base URL, credentials, and auto-populated IDs.

Teamcast Maya - Local Dev Environment

Pre-configured for localhost:3009. Update baseUrl for staging/production.

Environment
VariableAuto-set?Description
baseUrlNoAPI base URL (default: http://localhost:3009/api/v1)
jwt_tokenYesTenant Admin JWT — set after Tenant Admin Login (internal staff only)
pa_jwt_tokenYesPlatform Admin JWT — set after Platform Admin Login (internal staff only)
apiKeyNoYour API key — provisioned by Teamcast Super Admin and shared with you. Used for all Integration API calls.
apiKeyIdNoAPI key UUID — provided by Teamcast Super Admin alongside the key value.
tenantIdYesYour Tenant UUID — set after login or passed manually. Required as X-Tenant-ID header in all Integration API calls.
platformIdNoSet manually from Platform Admin portal
interviewIdYesSet after creating an interview
runIdYesSet after Submit Interview Request — use this in all subsequent Integration API calls
userIdYesSet after creating a user
roleIdYesSet after creating a role
candidateTokenNoSet from the interview join link sent to candidate
sessionTokenYesSet after Verify OTP
sessionIdYesSet after Start Interview
invitationTokenNoSet from invitation email link
interviewLinkYesSet after Approve Plan — the candidate-facing URL

Collections

For External Clients

Interview Integration APIs

The external client collection. Everything your ATS or HRIS needs — interview lifecycle, plan & assessment approvals, candidate access, and agent discovery. API key auth only, no JWT required.

28 requests4 folders
Interview LifecycleJSON-RPC 2.0Candidate Access (Token-Based)Agent Discovery
Download

Platform Admin APIs

Teamcast internal use. Platform Admin login, tenant provisioning, platform user management, API key visibility (read-only), tenant invitations, and health checks.

18 requests7 folders
AuthTenantsAPI KeysUsersStatsInvitationsHealth
Download

Tenant Admin APIs

Teamcast internal use. Admin dashboard operations — users, roles and permissions, interviews (CRUD + conduct + invite), workflow state machine, MCP skills, API keys, OAuth clients, webhook config, DLQ, and recording.

48 requests11 folders
AuthenticationUsersRoles & PermissionsInterviewsWorkflowMCP SkillsAPI KeysOAuth ClientsTenantsWebhook DLQRecording
Download

Quick Start: External Integration (API Key Only)

If you are integrating an external ATS, HRIS, or recruitment platform with Teamcast Maya, this is the only flow you need. No JWT login, no session management -- just your API key and Tenant ID on every request.

Set apiKey and tenantId in your Postman environment before starting. Both are issued to you by your Platform Admin.

1. Submit and Drive the Interview

  1. Run Submit Interview Request -- auto-saves runId
  2. Run Get Interview Status -- check state field
  3. If INFO_NEEDED: run Supply Missing Info
  4. When PENDING: run Approve Plan -- auto-saves interviewLink
  5. When ASSESSMENT_PENDING: run Approve Assessment

2. Candidate Flow (no auth — token-based)

  1. Copy token from interviewLink into candidateToken
  2. Run Get Interview Info (Candidate Access)
  3. Run Request OTP then Verify OTP -- auto-saves sessionToken
  4. Run Start Interview -- auto-saves sessionId
  5. Run Trigger AI Greeting
  6. Run End Interview to trigger the assessor

Quick Start: Platform Admin Setup (Internal Staff)

Teamcast Platform Admins use this flow to provision tenants and issue API keys to external integration partners.

1. Platform Admin Setup

  1. Run Login (Platform Admin collection) -- auto-saves pa_jwt_token
  2. Run Create Tenant -- auto-saves tenantId
  3. Teamcast Super Admin issues an API key via POST /super-admin/platforms/:id/api-keys -- auto-saves apiKey
  4. Share apiKey and tenantId with the external system

2. Tenant Admin (internal dashboard)

  1. Run Tenant Admin Login -- auto-saves jwt_token and tenantId
  2. Use Users, Roles, Interviews, Workflow, and other admin endpoints as needed

Authentication Modes

Each collection is pre-configured with the appropriate auth mode.

CollectionWho Uses ItAuthHeaders Required
Interview Integration APIsExternal ATS / HRIS systemsAPI Key onlyX-API-Key + X-Tenant-ID
Platform Admin APIsTeamcast internal staffBearer JWT (pa_jwt_token)Authorization: Bearer <token>
Tenant Admin APIsTeamcast internal staffBearer JWT (jwt_token)Authorization: Bearer <token>
Integration APIs use only an API key -- no login or JWT required. API keys are provisioned by Teamcast Super Admin and shared with you directly. Pass it as the X-API-Key header along with X-Tenant-ID on every request. JWT tokens are never required for external integrations.

Auto-Extraction Scripts

Key requests include Postman test scripts that auto-save response values to environment variables. This lets you run requests in sequence without manually copying IDs.

Example: Auto-save JWT on login
// Runs automatically after the Login request
if (pm.response.code === 200) {
  const json = pm.response.json();
  pm.environment.set('pa_jwt_token', json.accessToken);
}

Requests that auto-save variables: Platform Admin Login, Tenant Admin Login, Create Tenant, Create Interview, Submit Interview Request (runId), Verify OTP (sessionToken), Start Interview (sessionId), and Approve Plan (interviewLink).

Was this page helpful?