---
title: API Content Types
description: Learn the required content types, headers, and base64 encoding rules for sending and receiving JSON and file data with VIP Software APIs, including request and response formats, error handling, and file metadata.
---

[Skip to content](https://knowledge.vipsoftware.com/api-content-types#main-content)

[More support](https://knowledge.vipsoftware.com/kb-tickets/new?hsLang=en)

![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

Open main navigation

Close main navigation

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)
- [More support](https://knowledge.vipsoftware.com/kb-tickets/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://knowledge.vipsoftware.com/?hsLang=en)
2. [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

# API Content Types

### Content Types

API requests and responses follow strict content type requirements to ensure proper processing. All integrations must use the correct HTTP headers and data formats outlined below.

##### Requests

All requests should set the HTTP header:

```
Content-Type: application/json
```

Key requirements for requests:

- Body must contain a **JSON object** for POST methods.
- For GET requests, parameters are passed as standard query string values.
- When uploading files (for example, through **SendInvoiceDocuments** or **SendCSV**), binary file data must be **base64‑encoded** and included in the JSON payload.

##### Responses

All responses will set the HTTP header:

```
Content-Type: application/json
```

Response behavior:

- Response bodies contain **JSON objects or JSON arrays**, depending on the endpoint.
- When an error occurs, the response includes a top‑level **`errors`** array with one or more error messages.
- Some POST methods that accept input but do not return content may respond with HTTP **204 (No Content)**.

##### Files

Some API endpoints transmit file data (for example, invoice PDFs or claim attachments).

File handling behavior:

- Any PDF, image, or raw file data must be transferred as **base64‑encoded text**.
- The API consumer must decode the **base64** string locally to restore the original file.
- File metadata, such as filename, is provided in fields like **FileName**.

 

- [Support FAQ](https://knowledge.vipsoftware.com/support-faq?hsLang=en)
- [General Application Information](https://knowledge.vipsoftware.com/general-application-information?hsLang=en)
- [BAP](https://knowledge.vipsoftware.com/bap?hsLang=en)
- [Invision](https://knowledge.vipsoftware.com/invision?hsLang=en)
- [Integrations](https://knowledge.vipsoftware.com/integrations?hsLang=en)

- [Knowledge Base](https://knowledge.vipsoftware.com/)
- [Support](https://knowledge.vipsoftware.com/tickets)

[![](https://knowledge.vipsoftware.com/hs-fs/hubfs/rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png?width=500&height=500&name=rate%20iq%20(1)%20-%20June%2019%2c%202026%20at%2011.43.46-8-Artboard%208%20(1).png)](http://vipsoftware.com)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, vipsoftware.com