Curacel Attachments API

Attachments are simply files such as documents, images, videos, etc that may be relevant to an insurance policy or claim.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

POST /v1/attachments Create an attachment #
GET /v1/attachments/{id} Download an attachment #
DELETE /v1/attachments/{id} Delete an Attachment #

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/curacel:curacel-attachments-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

curacel-attachments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Curacel Attachments API
  version: 1.0.0
  description: 'Operations tagged attachments across 2 of this provider''s published API definitions: curacel-openapi-openapi.yml, curacel-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.playbox.grow.curacel.co/api
  description: Sandbox
- url: https://api.grow.curacel.co/api
  description: Production
- url: https://api.health.curacel.co/api
  description: Production
- url: https://api.sandbox.claims.curacel.co/api
  description: Sandbox
security:
- bearerAuth: []
tags:
- name: Attachments
  description: Attachments are simply files such as documents, images, videos, etc that may be relevant to an insurance policy or claim.
  x-displayName: Attachments
paths:
  /v1/attachments:
    post:
      operationId: createAttachment
      tags:
      - Attachments
      summary: Create an attachment
      description: Make a request to create an attachment
      requestBody:
        description: The request body to be sent with this request
        content:
          multipart/form-data:
            schema:
              oneOf:
              - $ref: '#/components/schemas/fileAttachment'
              - $ref: '#/components/schemas/urlAttachment'
      responses:
        201:
          description: Created
          content:
            application/json:
              schema:
                properties:
                  attachment:
                    type: object
                    properties:
                      id:
                        type: integer
                        description: The unique identifier for the attachment
                      description:
                        type: string
                        description: The description of the attachment
        400:
          description: Bad Request
          content:
            application/json:
              schema:
                properties:
                  error:
                    type: string
        422:
          description: Unprocessable Content
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                  errors:
                    type: object
                    properties:
                      file:
                        type: array
                        items:
                          type: string
                      description:
                        type: array
                        items:
                          type: string
    servers:
    - url: https://api.playbox.grow.curacel.co/api
      description: Sandbox
    - url: https://api.grow.curacel.co/api
      description: Production
  /v1/attachments/{id}:
    get:
      operationId: downloadAttachment
      tags:
      - Attachments
      summary: Download an attachment
      description: This endpoint allows you to download an attachment by its unique id
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
        description: The unique identifier for the attachment
      responses:
        '200':
          description: OK
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
                description: The attachment file
        400:
          description: Bad request.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
    delete:
      tags:
      - Attachments
      summary: Delete an Attachment
      operationId: deleteAttachment
      parameters:
      - in: path
        name: id
        required: true
        description: The ID of any of your Attachments you wish to delete.
        schema:
          type: number
      - in: query
        name: force
        description: Indicates if Attachment should be deleted irrespective of it being attached to another entity.
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Success
          content:
            application/json: {}
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
        '422':
          description: Unprocessable Entity
    servers:
    - url: https://api.playbox.grow.curacel.co/api
      description: Sandbox
    - url: https://api.grow.curacel.co/api
      description: Production
components:
  schemas:
    urlAttachment:
      type: object
      required:
      - file_url
      properties:
        file_url:
          type: string
          format: url
          description: A publicly accessible url to fetch the attachment from
        description:
          type: string
          description: A description of the attachment
    fileAttachment:
      type: object
      required:
      - file
      properties:
        file:
          type: string
          format: binary
          description: The file to be uploaded
        description:
          type: string
          description: A description of the attachment
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API KEY from your account dashboard
x-refined-from:
- curacel-openapi-openapi.yml
- curacel-openapi.json