Arrivy Task Status APIs API
The Task Status APIs API from Arrivy — 3 operation(s) for task status apis.
The Task Status APIs API from Arrivy — 3 operation(s) for task status apis.
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/arrivy:arrivy-task-status-apis-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:
version: v1
title: Task Status JSON Support Task Status APIs API
description: Task Status JSON Support
servers:
- url: https://app.arrivy.com/api
tags:
- name: Task Status APIs
paths:
/tasks/{task_id}/status/new:
post:
tags:
- Task Status APIs
summary: Report New Task Status
description: Reports a new task status for your task. Note the task is identified using the task_id in the request url.
operationId: create_task_status
parameters:
- name: task_id
in: path
description: ID of the task.
required: true
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: integer
example: 5348024557502464
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid task_id
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: NOT_FOUND
description:
type: string
example: NOT_FOUND
security:
- AuthKey: []
AuthToken: []
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: string
example: STARTED
time:
type: string
example: '2018-08-09T18:00:00+05:00'
source:
type: string
example: web
reporter_name:
type: string
example: Eddie Weinberger
reporter_id:
type: integer
example: 65320145698732
description: A task status has following attributes. <br /> **`type:*required`** (_string_) Type of status. Possible options are `NOTSTARTED`, `ENROUTE`, `STARTED`, `COMPLETE`, `EXCEPTION`, `CANCELLED`, `PREPARING`, `CONFIRMED`, `CUSTOM`, `CUSTOMER_EXCEPTION`, `ORDER` `ROUT_OF_STORAGEEADYFORPICKUP`, `CUSTOMER_SIGNATURE`, `EXTRA_TIME`, `ON_HOLD`, `MOVING_TO_STORAGE`, `IN_STORAGE`, `IN_TRANSIT`, `PICKING_UP`, and `SKIP`. <br /> **`time:*required`** (_string_) Time of status report. This needs to be ISO8601.Supported format is YYYY-MM-DDTHH:mm:ssZZ e.g. 2016-10-14T08:00:00+01:00 <br /> `title:` (_string_) This title will be shown in the status journal. E.g. you can set the title of `ENROUTE` status as `Enroute to Customer Location`. If the title is not provided then `type` of status will be used as title. <br /> `reporter_name:` (_string_) Name of the reporter of the task status. Typically, it's the name of entity reporting the status. <br /> `reporter_id:` (_integer_) Entity ID of the reporter. <br /> `extra_fields:` (_object_) A key value pair object. This is very useful as it can help store essentially any custom data with the task status. It could be `notes` (to add a note with task status), `visible_to_customer` (to make task status visible on customer's view of task), file paths etc. These keys-values pairs will also be sent via webhook notifications (can later be used for correlation). <br /> `source:` (_string_) String source of the task status e.g. it can be `web`, `email`, `sms` or `app`. App indicates arrivy mobile app. <br /> `color:` (_string_) The Hex code of the desired color. The status in the status journal will be shown along with this color. <br /> `current_destination:` (_object_) Used only for ENROUTE type status. It is a JSON object which contains address attributes which have same value as ONE of the addresses from task. As obvious by it’s name, the attribute is used to indicate the current destination of the crew. <br /> `items:` (_array_) Used only for ORDER type status and indicates the status of items stored on the task. It is an array of items objects. The items provided here should exist in associtaed task for this status. We will try to match `id` field of each item. **NOTE:** Please add one more attribute in each item object and name it as `status`, and specify it's value as `DELIVERED` for the item which is delivered, `PICKED_UP` for the item which is picked up and `EXCEPTION` for the item which is rejected due to some reason. If an item has an `EXCEPTION` status then some exception reason is expected with it. Exception reason should be passed with attribute `exception` and it needs to be an object with attributes `code`, `message_tier_1`, `message_tier_2`, `notes` and `files`. <br /> `company_id:` (_integer_) Optional param to create task status for task of another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
/tasks/{task_id}/status/{taskstatus_id}:
get:
tags:
- Task Status APIs
summary: Get a specific task status
description: Returns the entire task status stucture as JSON given the task_id of the task and taskstatus_id of the task status.
operationId: get_task_status
parameters:
- name: task_id
in: path
description: ID of the task.
required: true
schema:
type: integer
- name: taskstatus_id
in: path
description: ID of the task status.
required: true
schema:
type: integer
- name: company_id
in: query
description: Optional param to get task status of another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
required: false
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
type:
type: string
example: ENROUTE
title:
type: string
example: On Our Way
time:
type: string
example: '2016-10-14T08:00:00+01:00'
reporter_name:
type: string
example: John
reporter_id:
type: integer
example: 5348024557502464
source:
type: string
example: web
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid taskstatus_id
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: NOT_FOUND
description:
type: string
example: NOT_FOUND
security:
- AuthKey: []
AuthToken: []
put:
tags:
- Task Status APIs
summary: Update a specific task status
description: Update a task status given the task_id of the task and taskstatus_id of the task status.
operationId: update_task_status
parameters:
- name: task_id
in: path
description: ID of the task.
required: true
schema:
type: integer
- name: taskstatus_id
in: path
description: ID of the task status.
required: true
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Updated.
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid task_id
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: NOT_FOUND
description:
type: string
example: NOT_FOUND
security:
- AuthKey: []
AuthToken: []
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: string
example: STARTED
time:
type: string
example: '2018-08-09T18:00:00+05:00'
source:
type: string
example: app
reporter_name:
type: string
example: Eddie Weinberger
reporter_id:
type: integer
example: 65320145698732
description: A task status has following attributes. <br /> **`type:*required`** (_string_) Type of status. Possible options are `NOTSTARTED`, `ENROUTE`, `STARTED`, `COMPLETE`, `EXCEPTION`, `CANCELLED`, `PREPARING`, `CONFIRMED`, `CUSTOM`, `CUSTOMER_EXCEPTION`, `ORDER` `ROUT_OF_STORAGEEADYFORPICKUP`, `CUSTOMER_SIGNATURE`, `EXTRA_TIME`, `ON_HOLD`, `MOVING_TO_STORAGE`, `IN_STORAGE`, `IN_TRANSIT`, `PICKING_UP`, and `SKIP`. <br /> **`time:*required`** (_string_) Time of status report. This needs to be ISO8601.Supported format is YYYY-MM-DDTHH:mm:ssZZ e.g. 2016-10-14T08:00:00+01:00 <br /> `title:` (_string_) This title will be shown in the status journal. E.g. you can set the title of `ENROUTE` status as `Enroute to Customer Location`. If the title is not provided then `type` of status will be used as title. <br /> `reporter_name:` (_string_) Name of the reporter of the task status. Typically, it's the name of entity reporting the status. <br /> `reporter_id:` (_integer_) Entity ID of the reporter. <br /> `extra_fields:` (_object_) A key value pair object. This is very useful as it can help store essentially any custom data with the task status. It could be `notes` (to add a note with task status), `visible_to_customer` (to make task status visible on customer's view of task), file paths etc. These keys-values pairs will also be sent via webhook notifications (can later be used for correlation). <br /> `source:` (_string_) String source of the task status e.g. it can be `web`, `email`, `sms` or `app`. App indicates arrivy mobile app. <br /> `color:` (_string_) The Hex code of the desired color. The status in the status journal will be shown along with this color. <br /> `current_destination:` (_object_) Used only for ENROUTE type status. It is a JSON object which contains address attributes which have same value as ONE of the addresses from task. As obvious by it’s name, the attribute is used to indicate the current destination of the crew. <br /> `items:` (_array_) Used only for ORDER type status and indicates the status of items stored on the task. It is an array of items objects. The items provided here should exist in associtaed task for this status. We will try to match `id` field of each item. **NOTE:** Please add one more attribute in each item object and name it as `status`, and specify it's value as `DELIVERED` for the item which is delivered, `PICKED_UP` for the item which is picked up and `EXCEPTION` for the item which is rejected due to some reason. If an item has an `EXCEPTION` status then some exception reason is expected with it. Exception reason should be passed with attribute `exception` and it needs to be an object with attributes `code`, `message_tier_1`, `message_tier_2`, `notes` and `files`. <br /> `company_id:` (_integer_) Optional param to create task status for task of another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
delete:
tags:
- Task Status APIs
summary: Delete a specific task status
description: Delete a task status given the task_id of the task and taskstatus_id of the task status.
operationId: delete_task_status
parameters:
- name: task_id
in: path
description: ID of the task.
required: true
schema:
type: integer
- name: taskstatus_id
in: path
description: ID of the task status.
required: true
schema:
type: integer
- name: company_id
in: query
description: Optional param to delete task status of another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
required: false
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Deleted.
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid taskstatus_id
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: NOT_FOUND
description:
type: string
example: NOT_FOUND
security:
- AuthKey: []
AuthToken: []
/tasks/{task_id}/status:
get:
tags:
- Task Status APIs
summary: List all statuses of task
description: List all statuses of a task. The ID of the task is part of the URL.
operationId: get_all_task_statuses
parameters:
- name: task_id
in: path
description: ID of the task.
required: true
schema:
type: integer
- name: page
in: query
description: Default value is 1 if not supplied.
required: false
schema:
type: integer
- name: items_per_page
in: query
description: Max allowed limit is 50.
required: false
schema:
type: integer
- name: company_id
in: query
description: Optional param to get task status list of another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
required: false
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
type: object
properties:
type:
type: string
example: ENROUTE
title:
type: string
example: On Our Way
time:
type: string
example: '2016-10-14T08:00:00+01:00'
reporter_name:
type: string
example: John
reporter_id:
type: integer
example: 5348024557502464
source:
type: string
example: web
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid task_id
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
'404':
description: Not Found
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: NOT_FOUND
description:
type: string
example: NOT_FOUND
security:
- AuthKey: []
AuthToken: []
components:
securitySchemes:
AuthKey:
type: apiKey
name: X-Auth-Key
in: header
AuthToken:
type: apiKey
name: X-Auth-Token
in: header