API Handling API responses
Type to start searching
    GitHub
    • Docs
    • API
    GitHub
      • Welcome
      • Getting Started
      • Dashboard
        • Settings Overview
        • My Profile
        • Account Settings
        • User & Department Settings
        • Ticket Settings
        • Task Settings
        • Project Settings
        • Lead Settings
        • Sales Settings
        • Document Settings
        • Time Settings
      • Tickets
      • Tasks
      • Contacts
      • Projects
      • Sales
      • Time
      • Calendar
      • Reports
      • Labels
      • Getting Started
      • Authentication
      • Reading from the API
      • Writing to the API
      • Handling API responses
        • Calendar Event
        • Contact
        • Contact Role
        • Custom Field
        • Department
        • Document
        • File
        • Filter
        • Invoice
        • Label
        • Lead
        • Lead Lost Reason
        • Lead Source
        • Log
        • Mail Template
        • Note
        • Package
        • Product
        • Project
        • Project Role
        • Project Status
        • Project Template
        • Quote
        • Task
        • Ticket
        • Ticket Post
        • Time
        • Time Status
        • Track
        • Track Task
        • Webhook
    edit

    Handling API responses¶

    When API requests are successful, the HTTP status of the response will be 2xx. All other HTTP status codes point towards errors with the request.

    We follow the HTTP specification and return relevant HTTP status codes. Also, the response body contains valid JSON with further decription about the error.

    Previous Writing to the API
    Next Calendar Event
    Copyright © 2017 Zebreco
    powered by MkDocs and Material for MkDocs