Swoogo Images API
Upload, retrieve, and delete images associated with resources (registrants, speakers, sponsors, etc.).
Upload, retrieve, and delete images associated with resources (registrants, speakers, sponsors, etc.).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/swoogo:swoogo-images-api"
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.
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: 3.2.0
info:
title: Swoogo Images 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 Images 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: Images
description: Upload, retrieve, and delete images associated with resources (registrants, speakers, sponsors, etc.).
paths:
/image/{image_type}/{image_id}/{field_id}:
get:
security:
- bearerAuth: []
tags:
- Images
summary: Get Image URL
description: Retrieves the URL for an image associated with a specific object (e.g., event logo, speaker photo, sponsor banner). Requires `image_type` (the object type), `image_id` (the object's ID), and `field_id` (the image field) as path parameters.
operationId: getOneImageUrl
parameters:
- name: image_type
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to get
- name: image_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to get
- name: field_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to get
responses:
'200':
description: Get an Image URL
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:
field:
type: string
example: profile_picture
id:
type: number
example: 26361060
message:
type: string
example: File Retrieved Successfully
status:
type: number
example: 200
type:
type: string
example: registrant
url:
type: string
example: https://assets.swoogo.com/uploads/full/2879900-64fa2b4640a68.png
examples:
Get an Image URL:
value:
field: profile_picture
id: 26361060
message: File Retrieved Successfully
status: 200
type: registrant
url: https://assets.swoogo.com/uploads/full/2879900-64fa2b4640a68.png
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
put:
security:
- bearerAuth: []
tags:
- Images
summary: Update Image Field
description: 'Uploads or replaces an image for a specific field on an object (registrant, contact, or sponsor). Send as a `multipart/form-data` request with a single `file` parameter containing the image. The file must be no larger than 5MB and use a valid extension: jpg, jpeg, gif, png, webp, or svg. The `image_type` path parameter specifies the object type, `image_id` the object''s ID, and `field_id` the target image field (e.g., profile_picture).'
operationId: updateImageField
parameters:
- name: image_type
in: path
required: true
schema:
type: string
enum:
- registrant
- contact
- sponsor
example: contact
description: string - required - The model type of the object being affected ('registrant', 'contact' or 'sponsor')
- name: image_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The Swoogo ID of the object being affected
- name: field_id
in: path
required: true
schema:
type: string
example: c_12345
description: string - required - The ID of the image field to be updated (e.g. profile_picture, c_12345)
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
description: Image file no larger than 5MB in size and has one of these valid extensions 'jpg', 'jpeg', 'gif', 'png', 'webp', 'svg'
type: string
format: binary
responses:
'200':
description: Image uploaded successfully
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: File Uploaded Successfully
status:
type: integer
example: 200
type:
type: string
enum:
- registrant
- contact
- sponsor
example: registrant
id:
type: string
example: '1'
field:
type: string
example: profile_picture
url:
type: string
nullable: true
example: https://assets.swoogo.com/uploads/medium/123-abc.jpg
'400':
description: 'The request is invalid. Common causes: no file attached, file exceeds the 5MB size limit, unsupported file extension, invalid model type, missing field ID, or the specified field does not exist on the object.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
fileTooLarge:
summary: File exceeds size limit
value:
name: Bad Request
message: Your file must be a maximum of 5MB in size
code: 0
status: 400
noFileAttached:
summary: No file in request
value:
name: Bad Request
message: There was no file attached to this request
code: 0
status: 400
unsupportedType:
summary: Unsupported model type
value:
name: Bad Request
message: Model type not supported
code: 0
status: 400
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
delete:
security:
- bearerAuth: []
tags:
- Images
summary: Delete Image Field
description: Removes an image from a specific field on an object. The image file is deleted and the field is cleared. Requires `image_type`, `image_id`, and `field_id` as path parameters.
operationId: deleteImageField
parameters:
- name: image_type
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to delete
- name: image_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to delete
- name: field_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the image you want to delete
responses:
'204':
description: Delete
content: {}
'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
components:
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
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
headers:
RateLimitLimit:
schema:
type: integer
description: Maximum number of API requests allowed in the current 10-minute window.
example: 2000
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
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