Swoogo Registrant Groups API

Manage group registration assignments. Add or remove registrants from registration groups.

GitHub OpenAPI

Operations 2

POST /registrants/{registrant_id}/groups/{group_id} Add Registrant to Group #
DELETE /registrants/{registrant_id}/group Remove Registrant from Group #

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/swoogo:swoogo-registrant-groups-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

swoogo-registrant-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swoogo Registrant Groups API
  version: 1.0.0
  contact:
    name: Swoogo Developer Support
    url: https://developer.swoogo.com
    email: dev@swoogo.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://www.swoogo.com/terms
  description: 'Operations tagged Registrant Groups across 2 of this provider''s published API definitions: swoogo-openapi.yml, swoogo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.swoogo.com/api/v1
  description: Production API server
- url: https://local.swoogo.com/api/v1
  description: Local API server
tags:
- name: Registrant Groups
  description: Manage group registration assignments. Add or remove registrants from registration groups.
paths:
  /registrants/{registrant_id}/groups/{group_id}:
    post:
      security:
      - bearerAuth: []
      tags:
      - Registrant Groups
      summary: Add Registrant to Group
      description: Adds a registrant to an existing registration group. The target group is identified by `group_id` (which is the primary registrant's ID). Both registrants must belong to the same event. When added, the registrant's transactions and line items are consolidated under the group primary's financial records.
      operationId: addRegistrantToGroup
      parameters:
      - name: registrant_id
        in: path
        required: true
        schema:
          type: integer
          example: 123
        description: integer - required - The ID of the registrant to be added to the group
      - name: group_id
        in: path
        required: true
        schema:
          type: integer
          example: 456
        description: integer - required - The ID of the group to add the registrant to
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties: {}
            examples:
              Add Registrant To Group:
                value: {}
      responses:
        '200':
          description: Registrant successfully added to group
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: The registrant ID
                    example: 123
                  group_id:
                    type: integer
                    description: The group ID that the registrant was added to
                    example: 456
                  event_id:
                    type: integer
                    description: The event ID this registrant belongs to
                    example: 789
                  reg_type_id:
                    type: object
                    description: The registration type of the registrant
                    properties:
                      id:
                        type: integer
                        example: 1
                      value:
                        type: string
                        example: Standard
                  package_id:
                    type:
                    - 'null'
                    - integer
                    example: null
                  discount_code:
                    type:
                    - 'null'
                    - string
                    example: null
                  vat_number:
                    type: string
                    example: ''
                  first_name:
                    type: string
                    example: John
                  email:
                    type: string
                    example: user@example.com
                  sq_406:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: '1'
                        value:
                          type: string
                          example: Session 1
                  bio:
                    type: string
                    example: ''
                  last_name:
                    type: string
                    example: Smith
                  company:
                    type: string
                    example: Company Inc
                  job_title:
                    type: string
                    example: Manager
                  mobile_phone:
                    type: string
                    example: '+1234567890'
                  profile_picture:
                    type: string
                    example: https://example.com/profile.jpg
                  contact_id:
                    type: integer
                    example: 1
                  session_ids:
                    type: array
                    items:
                      type: string
                    example:
                    - '1'
                    - '2'
                  waitlisted_session_ids:
                    type: array
                    items:
                      type: string
                    example: []
                  notes:
                    type:
                    - 'null'
                    - string
                    example: null
                  reference:
                    type:
                    - 'null'
                    - string
                    example: null
                  ip_address:
                    type: string
                    example: 127.0.0.1
                  individual_net:
                    type: string
                    example: '0.00'
                  individual_tax:
                    type: string
                    example: '0.00'
                  individual_tax_2:
                    type: string
                    example: '0.00'
                  individual_gross:
                    type: string
                    example: '0.00'
                  group_net:
                    type: integer
                    example: 0
                  group_tax:
                    type: integer
                    example: 0
                  group_tax_2:
                    type: integer
                    example: 0
                  group_gross:
                    type: integer
                    example: 0
                  group_paid:
                    type: integer
                    example: 0
                  created_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  updated_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  registered_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  cancelled_at:
                    type:
                    - 'null'
                    - string
                    format: date-time
                    example: null
                  checked_in_at:
                    type:
                    - 'null'
                    - string
                    format: date-time
                    example: null
                  ext_token:
                    type: string
                    example: token123
                  secure_id:
                    type: string
                    example: id123
                  timezone:
                    type: string
                    example: UTC
                  registration_status:
                    type: string
                    example: confirmed
                  language:
                    type: string
                    example: en
                  payment_method:
                    type: string
                    example: credit_card
                  po_number:
                    type: string
                    example: ''
                  payment_status:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 0
                      value:
                        type: string
                        example: Unpaid
                  group_balance_due:
                    type: integer
                    example: 0
              examples:
                Successful Response:
                  value:
                    id: 123
                    group_id: 456
                    event_id: 789
                    reg_type_id:
                      id: 1
                      value: Standard
                    registration_status: confirmed
                    group_number: 1
                    created_at: '2025-01-01 12:00:00'
                    updated_at: '2025-01-01 12:00:00'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Bad Request
                  message:
                    type: string
                    example: The group_id parameter is required
                  code:
                    type: integer
                    example: 400
                  status:
                    type: integer
                    example: 400
        '401':
          description: Your request was made with invalid credentials.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Unauthorized
                  message:
                    type: string
                    example: Authentication token is missing or invalid
                  code:
                    type: integer
                    example: 401
                  status:
                    type: integer
                    example: 401
                  errors:
                    type: object
                    example:
                      auth: Invalid or expired authentication token
        '404':
          description: The registrant or group was not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Not Found
                  message:
                    type: string
                    example: The primary registrant was not found.
                  code:
                    type: integer
                    example: 404
                  status:
                    type: integer
                    example: 404
        '409':
          description: Failed to add registrant to group
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Conflict
                  message:
                    type: string
                    example: The primary registrant must be from the same event.
                  code:
                    type: integer
                    example: 409
                  status:
                    type: integer
                    example: 409
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Unprocessable entity
                  message:
                    type: string
                    example: The specified registrant is not a primary registrant.
                  code:
                    type: integer
                    example: 422
                  status:
                    type: integer
                    example: 422
        '500':
          description: An error occurred while processing your request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Internal Server Error
                  message:
                    type: string
                    example: An error occurred while processing your request.
                  code:
                    type: integer
                    example: 500
                  status:
                    type: integer
                    example: 500
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /registrants/{registrant_id}/group:
    delete:
      security:
      - bearerAuth: []
      tags:
      - Registrant Groups
      summary: Remove Registrant from Group
      description: Removes a registrant from their current registration group. The registrant becomes their own group primary with an independent financial record. Transactions are restored to the registrant's individual account. The registrant must not be the group primary to be removed.
      operationId: removeRegistrantFromGroup
      parameters:
      - name: registrant_id
        in: path
        required: true
        schema:
          type: integer
          example: 123
        description: integer - required - The ID of the registrant to remove from their current group
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties: {}
            examples:
              Remove Registrant From their current Group:
                value: {}
      responses:
        '200':
          description: Registrant successfully removed from group
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    description: The registrant ID
                    example: 123
                  group_id:
                    type: integer
                    description: The group ID that the registrant was added to
                    example: 123
                  event_id:
                    type: integer
                    description: The event ID this registrant belongs to
                    example: 789
                  reg_type_id:
                    type: object
                    description: The registration type of the registrant
                    properties:
                      id:
                        type: integer
                        example: 1
                      value:
                        type: string
                        example: Standard
                  package_id:
                    type:
                    - 'null'
                    - integer
                    example: null
                  discount_code:
                    type:
                    - 'null'
                    - string
                    example: null
                  vat_number:
                    type: string
                    example: ''
                  first_name:
                    type: string
                    example: John
                  email:
                    type: string
                    example: user@example.com
                  sq_406:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: '1'
                        value:
                          type: string
                          example: Session 1
                  bio:
                    type: string
                    example: ''
                  last_name:
                    type: string
                    example: Smith
                  company:
                    type: string
                    example: Company Inc
                  job_title:
                    type: string
                    example: Manager
                  mobile_phone:
                    type: string
                    example: '+1234567890'
                  profile_picture:
                    type: string
                    example: https://example.com/profile.jpg
                  contact_id:
                    type: integer
                    example: 1
                  session_ids:
                    type: array
                    items:
                      type: string
                    example:
                    - '1'
                    - '2'
                  waitlisted_session_ids:
                    type: array
                    items:
                      type: string
                    example: []
                  notes:
                    type:
                    - 'null'
                    - string
                    example: null
                  reference:
                    type:
                    - 'null'
                    - string
                    example: null
                  ip_address:
                    type: string
                    example: 127.0.0.1
                  individual_net:
                    type: string
                    example: '0.00'
                  individual_tax:
                    type: string
                    example: '0.00'
                  individual_tax_2:
                    type: string
                    example: '0.00'
                  individual_gross:
                    type: string
                    example: '0.00'
                  group_net:
                    type: integer
                    example: 0
                  group_tax:
                    type: integer
                    example: 0
                  group_tax_2:
                    type: integer
                    example: 0
                  group_gross:
                    type: integer
                    example: 0
                  group_paid:
                    type: integer
                    example: 0
                  created_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  updated_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  registered_at:
                    type: string
                    format: date-time
                    example: '2025-01-01 12:00:00'
                  cancelled_at:
                    type:
                    - 'null'
                    - string
                    format: date-time
                    example: null
                  checked_in_at:
                    type:
                    - 'null'
                    - string
                    format: date-time
                    example: null
                  ext_token:
                    type: string
                    example: token123
                  secure_id:
                    type: string
                    example: id123
                  timezone:
                    type: string
                    example: UTC
                  registration_status:
                    type: string
                    example: confirmed
                  language:
                    type: string
                    example: en
                  payment_method:
                    type: string
                    example: credit_card
                  po_number:
                    type: string
                    example: ''
                  payment_status:
                    type: object
                    properties:
                      id:
                        type: integer
                        example: 0
                      value:
                        type: string
                        example: Unpaid
                  group_balance_due:
                    type: integer
                    example: 0
              examples:
                Successful Response:
                  value:
                    id: 123
                    group_id: 123
                    event_id: 789
                    reg_type_id:
                      id: 1
                      value: Standard
                    registration_status: confirmed
                    group_number: 1
                    created_at: '2025-01-01 12:00:00'
                    updated_at: '2025-01-01 12:00:00'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Bad Request
                  message:
                    type: string
                    example: Invalid request parameters
                  code:
                    type: integer
                    example: 400
                  status:
                    type: integer
                    example: 400
        '401':
          description: Your request was made with invalid credentials.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Unauthorized
                  message:
                    type: string
                    example: Authentication token is missing or invalid
                  code:
                    type: integer
                    example: 401
                  status:
                    type: integer
                    example: 401
        '403':
          description: You do not have access to that resource.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Forbidden
                  message:
                    type: string
                    example: You do not have access to that resource.
                  code:
                    type: integer
                    example: 403
                  status:
                    type: integer
                    example: 403
        '404':
          description: The registrant was not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Not Found
                  message:
                    type: string
                    example: The registrant was not found.
                  code:
                    type: integer
                    example: 404
                  status:
                    type: integer
                    example: 404
        '409':
          description: Failed to remove registrant from group
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Conflict
                  message:
                    type: string
                    example: Cannot remove registrant due to existing dependencies.
                  code:
                    type: integer
                    example: 409
                  status:
                    type: integer
                    example: 409
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Unprocessable entity
                  message:
                    type: string
                    example: The registrant is not part of any group.
                  code:
                    type: integer
                    example: 422
                  status:
                    type: integer
                    example: 422
        '500':
          description: An error occurred while processing your request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    example: Internal Server Error
                  message:
                    type: string
                    example: An error occurred while processing your request.
                  code:
                    type: integer
                    example: 500
                  status:
                    type: integer
                    example: 500
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: access_token
      description: OAuth 2.0 bearer token obtained from `POST /oauth2/token`. Tokens expire after 30 minutes. Include in the `Authorization` header as `Bearer {access_token}`.
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using your base64-encoded API consumer key and secret. Only used for the `POST /oauth2/token` endpoint to obtain a bearer token.
x-refined-from:
- swoogo-openapi.yml
- swoogo-openapi.yml