Swoogo Contacts API

Organization-level CRM contacts and contact fields.

GitHub OpenAPI

Operations 8

GET /contacts Get All Contacts #
POST /contacts Create a contact #
GET /contacts/{contact_id} Get One Contact #
PUT /contacts/{contact_id} Update a contact #
POST /contacts/create Create Contact #
PUT /contacts/update/{contact_id} Update Contact #
PUT /contacts/forget/{contact_id} Forget Contact #
POST /contacts/{contact_id}/forget Forget a contact (GDPR) #

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-contacts-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-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swoogo Contacts API
  version: '1.0'
  description: 'Operations tagged Contacts across 3 of this provider''s published API definitions: swoogo-openapi.yml, swoogo-openapi.yml, swoogo-contacts-api-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: Contacts
  description: Contacts are people in your Swoogo CRM, independent of any specific event. Contacts can be linked to registrants across multiple events and managed via invitation lists.
paths:
  /contacts:
    get:
      security:
      - bearerAuth: []
      tags:
      - Contacts
      summary: Get All Contacts
      description: Returns a paginated list of CRM contacts across all events in your account. Unlike registrants, contacts are not event-specific and can be linked to registrations across multiple events. Default fields returned are `id`, `first_name`, and `last_name` -- use `fields` to request additional properties. Use `expand` with `homeAddress`, `workAddress`, or `billingAddress` to include address objects. Use `search` to filter by any contact field and `sort` to control ordering.
      operationId: getAllContacts
      parameters:
      - name: fields
        in: query
        schema:
          type: string
          example: account_id,bio,birth_date,cc_email,company,created_at,email,first_name,gender,id,job_title,language,last_name,middle_name,mobile_phone,notes,prefix,profile_picture,subscribe_status,suffix,twitter_handle,updated_at,vat_number,work_phone
        description: string - optional - Comma separated list of fields you want to return
      - name: expand
        in: query
        schema:
          type: string
          example: homeAddress,workAddress,billingAddress
        description: string - optional - Comma separated list of objects you want to return
      - name: search
        in: query
        schema:
          type: string
          example: id>123
        description: string - optional - Filter conditions to narrow the results. Valid operators are =, !=, >=, <=, >, <, *contains*, *beginswith*, *endswith*
      - name: page
        in: query
        schema:
          type: string
          example: '1'
        description: integer - optional - The page of results you want to view
      - name: per-page
        in: query
        schema:
          type: string
          example: '5'
        description: integer - optional - The number of results per page (to a max of 200)
      - name: sort
        in: query
        schema:
          type: string
        description: string - optional - Sort the results (add - in front for opposite sort direction, e.g. "-id")
      - name: ids
        in: query
        schema:
          type: string
        description: Comma-separated list of IDs to retrieve. When provided, only records matching these IDs are returned. All values must be positive integers. Maximum 100 IDs per request.
        example: 1,2,3
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: Collection
          headers:
            x-rate-limit-limit:
              $ref: '#/components/headers/RateLimitLimit'
            x-rate-limit-remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            x-rate-limit-reset:
              $ref: '#/components/headers/RateLimitReset'
            x-pagination-current-page:
              $ref: '#/components/headers/PaginationCurrentPage'
            x-pagination-page-count:
              $ref: '#/components/headers/PaginationPageCount'
            x-pagination-per-page:
              $ref: '#/components/headers/PaginationPerPage'
            x-pagination-total-count:
              $ref: '#/components/headers/PaginationTotalCount'
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        created_at:
                          type: string
                          example: '2023-04-21 15:46:23'
                        updated_at:
                          type: string
                          example: '2023-04-21 15:47:37'
                  _links:
                    type: object
                    properties:
                      self:
                        type: object
                        properties:
                          href:
                            type: string
                            example: ''
                      first:
                        type: object
                        properties:
                          href:
                            type: string
                            example: ''
                      last:
                        type: object
                        properties:
                          href:
                            type: string
                            example: ''
                  _meta:
                    type: object
                    properties:
                      totalCount:
                        type: integer
                        example: 1
                      pageCount:
                        type: integer
                        example: 1
                      currentPage:
                        type: integer
                        example: 1
                      perPage:
                        type: integer
                        example: 20
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    post:
      operationId: createContact
      tags:
      - Contacts
      summary: Create a contact
      description: Creates a new organization-level contact.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Contact'
      responses:
        '201':
          description: The created contact.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '401':
          $ref: '#/components/responses/Unauthorized_2'
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /contacts/{contact_id}:
    get:
      security:
      - bearerAuth: []
      tags:
      - Contacts
      summary: Get One Contact
      description: Returns the full details of a single CRM contact by `contact_id`, including personal information, company, email, phone numbers, and profile data. Use `fields` to limit which properties are returned and `expand` to include related objects.
      operationId: getOneContact
      parameters:
      - name: contact_id
        in: path
        required: true
        schema:
          type: integer
          example: 1
        description: integer - required - The ID of the contact you want to get
      - name: fields
        in: query
        schema:
          type: string
          example: account_id,bio,birth_date,cc_email,company,created_at,email,first_name,gender,id,job_title,language,last_name,middle_name,mobile_phone,notes,prefix,profile_picture,subscribe_status,suffix,twitter_handle,updated_at,vat_number,work_phone
        description: string - optional - Comma separated list of fields you want to return
      - name: expand
        in: query
        schema:
          type: string
          example: registrants,unsubscribedEvents,invitationLists
        description: 'string - optional - Comma separated list of related objects to include inline. Supported values: `workAddress`, `homeAddress`, `billingAddress`, `registrants`, `unsubscribedEvents`, `invitationLists`'
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: Get Contact Details
          headers:
            x-rate-limit-limit:
              $ref: '#/components/headers/RateLimitLimit'
            x-rate-limit-remaining:
              $ref: '#/components/headers/RateLimitRemaining'
            x-rate-limit-reset:
              $ref: '#/components/headers/RateLimitReset'
          content:
            application/json:
              schema:
                type: object
                properties:
                  account_id:
                    type: number
                    example: 1
                  bio:
                    type: string
                    example: ''
                  birth_date:
                    type: string
                    example: ''
                  cc_email:
                    type: string
                    example: ''
                  company:
                    type: string
                    example: Alan D Rosenburg Cpa Pc
                  created_at:
                    type: string
                    example: '2015-10-12 13:48:03'
                  email:
                    type: string
                    example: atomkiewicz@hotmail.com
                  first_name:
                    type: string
                    example: Aleshia
                  gender:
                    type: object
                    properties:
                      id:
                        type: number
                        example: 1
                      value:
                        type: string
                        example: Female
                  id:
                    type: number
                    example: 1
                  job_title:
                    type: string
                    example: ''
                  language:
                    type: string
                    example: en-US
                  last_name:
                    type: string
                    example: Tomkiewicz
                  middle_name:
                    type: string
                    example: ''
                  mobile_phone:
                    type: string
                    example: ''
                  notes:
                    type: string
                    example: ''
                  prefix:
                    type: string
                    example: ''
                  profile_picture:
                    type: string
                    example: ''
                  subscribe_status:
                    type: string
                    example: subscribed
                  suffix:
                    type: string
                    example: ''
                  twitter_handle:
                    type: string
                    example: ''
                  updated_at:
                    type: string
                    example: '2015-10-12 13:48:15'
                  vat_number:
                    type: string
                    example: ''
                  work_phone:
                    type: string
                    example: +44 1835 703597
              examples:
                Get Contact Details:
                  value:
                    account_id: 1
                    bio: ''
                    birth_date: ''
                    cc_email: ''
                    company: Alan D Rosenburg Cpa Pc
                    created_at: '2015-10-12 13:48:03'
                    email: atomkiewicz@hotmail.com
                    first_name: Aleshia
                    gender:
                      id: 1
                      value: Female
                    id: 1
                    job_title: ''
                    language: en-US
                    last_name: Tomkiewicz
                    middle_name: ''
                    mobile_phone: ''
                    notes: ''
                    prefix: ''
                    profile_picture: ''
                    subscribe_status: subscribed
                    suffix: ''
                    twitter_handle: ''
                    updated_at: '2015-10-12 13:48:15'
                    vat_number: ''
                    work_phone: +44 1835 703597
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    parameters:
    - $ref: '#/components/parameters/ContactId'
    put:
      operationId: updateContact
      tags:
      - Contacts
      summary: Update a contact
      description: Updates an existing contact.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Contact'
      responses:
        '200':
          description: The updated contact.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Contact'
        '401':
          $ref: '#/components/responses/Unauthorized_2'
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /contacts/create:
    post:
      security:
      - bearerAuth: []
      tags:
      - Contacts
      summary: Create Contact
      description: Creates a new CRM contact. The `email` field is required and must be unique within your account. You can also provide first_name, last_name, company, job_title, and other profile fields. Returns the newly created contact object. Once created, the contact can be linked to events as a registrant or speaker.
      operationId: postContactsCreate
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email:
                  type: string
                  example: atomkiewicz@hotmail.com
                first_name:
                  type: string
                  example: Aleshia
                last_name:
                  type: string
                  example: Tomkiewicz
            examples:
              Create A New Contact:
                value:
                  email: atomkiewicz@hotmail.com
                  first_name: Aleshia
                  last_name: Tomkiewicz
      responses:
        '201':
          description: Create Object
          content:
            application/json:
              schema:
                type: object
                properties:
                  created_at:
                    type: string
                    example: '2022-06-26 14:30:00'
                  updated_at:
                    type: string
                    example: '2022-06-26 14:30:00'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-operation-id-source: normalized
      x-operation-id-original: createContact
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /contacts/update/{contact_id}:
    put:
      security:
      - bearerAuth: []
      tags:
      - Contacts
      summary: Update Contact
      description: Updates an existing CRM contact by `contact_id`. Send only the fields you want to change -- any omitted fields retain their current values. Changes to contact data may propagate to linked speaker records that pull profile information from this contact.
      operationId: putContactsUpdateByContactId
      parameters:
      - name: contact_id
        in: path
        required: true
        schema:
          type: integer
          example: 1
        description: integer - required - The ID of the contact you want to update
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                email:
                  type: string
                  example: atomkiewicz@hotmail.com
                first_name:
                  type: string
                  example: Aleshia
                last_name:
                  type: string
                  example: Tomkiewicz
            examples:
              Update An Existing Contact:
                value:
                  email: atomkiewicz@hotmail.com
                  first_name: Aleshia
                  last_name: Tomkiewicz
      responses:
        '200':
          description: ''
      x-operation-id-source: normalized
      x-operation-id-original: updateContact
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /contacts/forget/{contact_id}:
    put:
      security:
      - bearerAuth: []
      tags:
      - Contacts
      summary: Forget Contact
      description: Performs a GDPR “right to be forgotten” operation on a contact by `contact_id`. This anonymizes the contact's personal data and optionally removes credit card holder names. Provide `registrantIds` as a JSON array to also anonymize specific linked registrant records. This action is irreversible -- all affected personal data is permanently erased.
      operationId: forgetContact
      parameters:
      - name: contact_id
        in: path
        required: true
        schema:
          type: integer
          example: 1
        description: integer - required - The ID of the contact you want to forget
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                deleteCreditCardName:
                  type: string
                  example: '1'
                registrantIds:
                  type: string
                  example: '[1,2]'
            examples:
              Forget An Existing Contact:
                value:
                  deleteCreditCardName: '1'
                  registrantIds: '[1,2]'
      responses:
        '200':
          description: ''
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Production API server
    - url: https://local.swoogo.com/api/v1
      description: Local API server
  /contacts/{contact_id}/forget:
    parameters:
    - $ref: '#/components/parameters/ContactId'
    post:
      operationId: postContactsByContactIdForget
      tags:
      - Contacts
      summary: Forget a contact (GDPR)
      description: Anonymizes/forgets a contact to satisfy GDPR erasure requests.
      responses:
        '200':
          description: The contact was forgotten.
        '401':
          $ref: '#/components/responses/Unauthorized_2'
      security:
      - bearerAuth: []
      x-operation-id-source: normalized
      x-operation-id-original: forgetContact
    servers:
    - url: https://api.swoogo.com/api/v1
      description: Swoogo production API
components:
  headers:
    PaginationTotalCount:
      schema:
        type: integer
      description: Total number of items matching the query across all pages.
      example: 95
    PaginationPerPage:
      schema:
        type: integer
      description: Number of items returned per page.
      example: 20
    PaginationPageCount:
      schema:
        type: integer
      description: Total number of pages available based on the current `per-page` value.
      example: 5
    RateLimitLimit:
      schema:
        type: integer
      description: Maximum number of API requests allowed in the current 10-minute window.
      example: 2000
    PaginationCurrentPage:
      schema:
        type: integer
      description: The current page number in the paginated result set.
      example: 1
    RateLimitRemaining:
      schema:
        type: integer
      description: Number of requests remaining in the current rate limit window.
      example: 1367
    RateLimitReset:
      schema:
        type: integer
      description: Number of seconds until the current rate limit window resets.
      example: 0
  schemas:
    ErrorResponse:
      type: object
      description: Standard error response returned for all 4xx and 5xx status codes.
      properties:
        name:
          type: string
          description: Human-readable error type name (e.g., "Unauthorized", "Forbidden", "Not Found").
          example: Unauthorized
        message:
          type: string
          description: Detailed error message explaining what went wrong.
          example: Your request was made with invalid credentials.
        code:
          type: integer
          description: Application-specific error code. Currently `0` for all standard errors.
          example: 0
        status:
          type: integer
          description: HTTP status code of the error response.
          example: 401
    Contact:
      type: object
      properties:
        id:
          type: integer
        first_name:
          type: string
        last_name:
          type: string
        email:
          type: string
        company:
          type: string
  responses:
    NotFound:
      description: The specified resource does not exist or has been deleted. Verify the ID is correct and that the resource belongs to an event your credentials have access to.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            name: Not Found
            message: The requested resource does not exist.
            code: 0
            status: 404
    Forbidden:
      description: The authenticated user does not have permission to access this resource. This can occur if the resource belongs to a different account or the API credentials lack the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            name: Forbidden
            message: You do not have access to that resource.
            code: 0
            status: 403
    Unauthorized:
      description: Authentication failed. The bearer token is missing, expired, or invalid. Obtain a new token via `POST /oauth2/token`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            name: Unauthorized
            message: Your request was made with invalid credentials.
            code: 0
            status: 401
    InternalServerError:
      description: An unexpected server error occurred. If this persists, contact Swoogo support with the request details and timestamp.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            name: Internal Server Error
            message: An error occurred while processing your request.
            code: 0
            status: 500
    Unauthorized_2:
      description: The bearer token is missing, invalid, or expired.
  parameters:
    ContactId:
      name: contact_id
      in: path
      required: true
      schema:
        type: integer
      description: The contact ID.
  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
- swoogo-contacts-api-openapi.yml