McMain icon

McMain

Interact with McMain API

Crew → Create

AI-generated

Summary

Create a new crew record in the McMain API

Inputs

  • id (required) — ID of the crew
  • description (required) — Short description of the crew
  • additionalFields — Additional fields to include in the request body
  • requestOptions — HTTP request configuration such as batching, timeout, proxy, and SSL settings

Output shape

a single crew record representing the newly created crew

The response contains the created crew's ID and any populated fields; may include additional metadata depending on server configuration

Examples

Example 1: Create a crew with an ID and description

id: CREW_001, description: 'Team Alpha', additionalFields: {}, requestOptions: {}

Example 2: Create a crew with batch processing enabled

id: CREW_002, description: 'Team Beta', additionalFields: {rate: 5}, requestOptions: {batching: {batchSize: 100}}

Discussion