Cookiy AI Studies / Recruit API

The Studies / Recruit API from Cookiy AI — 2 operation(s) for studies / recruit.

GitHub OpenAPI

Operations 2

POST /v1/studies/{id}/recruit/preview Preview study recruitment #
POST /v1/studies/{id}/recruit/confirm Confirm study recruitment launch #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cookiy-ai:cookiy-ai-studies-recruit-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cookiy-ai-studies-recruit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cookiy Ai Studies / Recruit API
  version: '1.0'
  contact: {}
  description: 'Operations tagged Studies / Recruit across 2 of this provider''s published API definitions: cookiy-ai-openapi-original.json, cookiy-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
  description: Current environment
- url: https://s-api.cookiy.ai/api
  description: Production
- url: https://preview-api.cookiy.ai/api
  description: Preview
- url: https://dev-api.cookiy.ai/api
  description: Development
tags:
- name: Studies / Recruit
paths:
  /v1/studies/{id}/recruit/preview:
    post:
      operationId: recruitPreview
      parameters:
      - name: authorization
        required: true
        in: header
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1RecruitCintBodyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - data
                properties:
                  ok:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/V1RecruitPreviewResponseDto'
      summary: Preview study recruitment
      tags:
      - Studies / Recruit
    servers:
    - url: /api
      description: Current environment
    - url: https://s-api.cookiy.ai/api
      description: Production
    - url: https://preview-api.cookiy.ai/api
      description: Preview
    - url: https://dev-api.cookiy.ai/api
      description: Development
  /v1/studies/{id}/recruit/confirm:
    post:
      operationId: recruitConfirm
      parameters:
      - name: authorization
        required: true
        in: header
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1RecruitCintBodyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - data
                properties:
                  ok:
                    type: boolean
                    enum:
                    - true
                  data:
                    $ref: '#/components/schemas/V1RecruitConfirmResponseDto'
      summary: Confirm study recruitment launch
      tags:
      - Studies / Recruit
    servers:
    - url: /api
      description: Current environment
    - url: https://s-api.cookiy.ai/api
      description: Production
    - url: https://preview-api.cookiy.ai/api
      description: Preview
    - url: https://dev-api.cookiy.ai/api
      description: Development
components:
  schemas:
    V1RecruitCintBodyDto:
      type: object
      properties:
        plain_text:
          type: string
          minLength: 1
          x-nestjs_zod-uses-3-point-1-syntax: true
        target_participants:
          type: integer
          exclusiveMinimum: 0
          maximum: 10000
          x-nestjs_zod-uses-3-point-1-syntax: true
        incremental_participants:
          type: integer
          exclusiveMinimum: 0
          maximum: 10000
          x-nestjs_zod-uses-3-point-1-syntax: true
        auto_launch:
          type: boolean
          x-nestjs_zod-uses-3-point-1-syntax: true
        force_reconfigure:
          type: boolean
          x-nestjs_zod-uses-3-point-1-syntax: true
        recruit_mode:
          description: Recruitment mode. Use quant_survey only when Cookiy should recruit respondents into a questionnaire created through Cookiy survey tools.
          type: string
          enum:
          - qualitative_panel
          - quant_survey
          x-nestjs_zod-uses-3-point-1-syntax: true
        survey_public_url:
          description: Required when recruit_mode=quant_survey. Must be the HTTPS questionnaire URL returned by Cookiy survey tools.
          type: string
          format: uri
          x-nestjs_zod-uses-3-point-1-syntax: true
        confirmation_token:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
    V1RecruitPreviewResponseDto:
      type: object
      properties:
        status:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        workflow_state:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        confirmation_token:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        target_persona:
          anyOf:
          - type: string
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        cost_cents:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        shortfall_cents:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        price_per_participant_cents:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        pricing_description:
          anyOf:
          - type: string
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        incremental_participants:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        total_participants_after:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        pool_size_label:
          anyOf:
          - type: string
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        pool_size_range:
          anyOf:
          - type: string
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
      required:
      - status
      - workflow_state
      - confirmation_token
    V1RecruitConfirmResponseDto:
      type: object
      properties:
        status:
          anyOf:
          - type: string
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        workflow_state:
          type: string
          x-nestjs_zod-uses-3-point-1-syntax: true
        target_participants:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        incremental_participants:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        total_participants_after:
          anyOf:
          - type: integer
            minimum: -9007199254740991
            maximum: 9007199254740991
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        launched:
          anyOf:
          - type: boolean
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
        recruit_progress_webpage_url:
          anyOf:
          - type: string
            format: uri
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
      required:
      - status
      - workflow_state
      - target_participants
      - total_participants_after
      - launched
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    cookie:
      type: apiKey
      in: cookie
      name: Authentication
x-refined-from:
- cookiy-ai-openapi-original.json
- cookiy-ai-openapi.yml