Arrivy Entity APIs API
The Entity APIs API from Arrivy — 3 operation(s) for entity apis.
The Entity APIs API from Arrivy — 3 operation(s) for entity 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-entity-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: Entities JSON Support Entity APIs API
description: Entities JSON Support
servers:
- url: https://app.arrivy.com/api
tags:
- name: Entity APIs
paths:
/entities/new:
post:
tags:
- Entity APIs
summary: Adds a new entity
description: Adds a new entity to the company. Required fields for a new entity are `name`, `type` and `permission`.The response will return unique entity id which can be used for future API calls. We highly recommend that you store it somewhere. Optional fields are `email`, `phone`, `details`, `permission`, `extra_fields` (JSON object of key value pairs), `image_id` , `image_path` and `external_id` (typically, an id from the client system). Permission can be `ADMIN`, `SCHEDULER`, `FIELDCREW` or `LIMITEDACCESS`.
operationId: create_entity
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: MISSING_VALUE
description:
type: string
example: Name is required
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
security:
- AuthKey: []
AuthToken: []
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
example: Eddit Weinberger
type:
type: string
example: Crew Lead
email:
type: string
example: eddit@motivatedmovers.com
phone:
type: string
example: '+14256064556'
invite_to_join:
type: boolean
example: true
details:
type: string
example: The new crew lead.
image_id:
type: integer
example: 5194384987389952
image_path:
type: string
example: https://example.com/user.png
extra_fields:
type: object
properties:
color:
type: string
example: '#ff0000'
description: An entity has following attributes. <br> **`name:*required`** (_string_) Name of the Entity. <br /> **`type:*required`** (_string_) Type of the Entity. Typically this is the role in the company e.g. Crew Lead, etc. <br /> **`permission:*required`** (_string_) Permission level of the Entity. It has to be one of the values, i.e. `ADMIN`, `SCHEDULER`, `FIELDCREW` and `LIMITEDACCESS`. <br /> `email:` (_string_) Email of the Entity. It is optional. If provided and the invite_to_join is not set to False then Arrivy will send an invite to this address to join arrivy platform. Generally, it’s done when the team members need to use Arrivy mobile apps or web experience. <br /> `username:` (_string_) A username that uniquely identifies an entity. This will be used as a login credential and will be used to login entities in the kiosk mode. <br /> `invite_to_join:` (_boolean_) True/False which indicates that whether Arrivy needs to send invitation email to this entity to register an account on Arrivy. By default it is considered as True. <br /> `create_account:` (_boolean_) True means that Arrivy should automatically create a login account for this entity with the provided email and the password (sent as a separate field to this call). By default it is assumed False. <br /> `password:` (_string_) Password for the account to be created. Again, this is only used when invite_to_join is False and create_account is True. <br /> `phone:` (_string_) Phone Number of eht Entity. <br /> `details:` (_string_) Details of the Entity. This is used to write a short introduction of the Entity that will be visible on the customer’s view of the task. <br /> `can_turnoff_location:` (_boolean_) True/False indicates if an entity can turn off location reporting service when using Arrivy mobile app. <br /> `extra_fields:` (_object_) Custom fields provided as key value pair as JSON object. This is very useful as it can help store essentially any data with the entity. <br /> `notifications:` (_object_) A key value pair as JSON stringified. Possible key options are sms and email. Indicate true or false to turn on or off each of these channels for sending out account creation invites. `image_id:` (_integer_) ID of Image. <br /> `image_path:` (_string_) Profile image path for the Entity. This is used in customer’s view of the job. <br /> `color:` (_string_) Color of the entity. Color should be provided in the form of Hex code. <br /> `external_id:` (_string_) Typically, an id from the client system. <br /> `group_id:` (_integer_) ID of the group of this entity. <br /> `additional_group_ids:` (_string_) Comma separated array of group ids to indicate selected additional groups to which the entity can belong. These group ids are returned by Arrivy in response to /api/groups/new or /api/groups. <br /> `skills:` (_string_) Comma separated names of the skills. The skills will be created (if they do not already exist with the same name) and will be assigned with the entity. <br /> `ref:` (_string_) Source/Reference of the user account being created along with the entity. <br /> `allow_login_in_kiosk_mode_only:` (_boolean_) True/False which indicates whether to register the entity in kiosk mode or not. If True, the entity will be allowed to login in kiosk mode only. <br /> `company_id:` (_integer_) Optional param to create entity in another authorized company other than default company. Please reach out to us at dev.support@arrivy.com before you start using this field.
/entities/{entity_id}:
get:
tags:
- Entity APIs
summary: Get a specific entity
description: Get all fields of a specific entity.
operationId: get_entity
parameters:
- name: entity_id
in: path
description: ID of the entity.
required: true
schema:
type: integer
- name: company_id
in: query
description: Optional param to get entity 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:
id:
type: integer
example: 5348024557502464
type:
type: string
example: Night-Shift Driver
owner:
type: integer
example: 5629499534213120
name:
type: string
example: John
email:
type: string
example: john@doe.com
phone:
type: string
example: +4356744 789
details:
type: string
example: Joe loves his work
extra_fields:
type: object
example: null
image_id:
type: integer
example: 12345
group_id:
type: integer
example: null
image_path:
type: string
example: https://...../....
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid entity_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:
- Entity APIs
summary: Update a specific entity
description: Just send the fields that you would like to change along with required fileds.
operationId: update_entity
parameters:
- name: entity_id
in: path
description: ID of the entity.
required: true
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
id:
type: integer
example: 5348024557502464
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 entity_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:
name:
type: string
example: Eddit Weinberger
type:
type: string
example: Crew Lead
email:
type: string
example: eddit@motivatedmovers.com
phone:
type: string
example: '+14256064556'
invite_to_join:
type: boolean
example: true
details:
type: string
example: The new crew lead.
image_id:
type: integer
example: 5194384987389952
image_path:
type: string
example: https://example.com/user.png
extra_fields:
type: object
properties:
color:
type: string
example: '#ff0000'
description: An entity has following attributes. <br> **`name:*required`** (_string_) Name of the Entity. <br /> **`type:*required`** (_string_) Type of the Entity. Typically this is the role in the company e.g. Crew Lead, etc. <br /> **`permission:*required`** (_string_) Permission level of the Entity. It has to be one of the values, i.e. `ADMIN`, `SCHEDULER`, `FIELDCREW` and `LIMITEDACCESS`. <br /> `email:` (_string_) Email of the Entity. It is optional. If provided and the invite_to_join is not set to False then Arrivy will send an invite to this address to join arrivy platform. Generally, it’s done when the team members need to use Arrivy mobile apps or web experience. <br /> `username:` (_string_) A username that uniquely identifies an entity. This will be used as a login credential and will be used to login entities in the kiosk mode. <br /> `invite_to_join:` (_boolean_) True/False which indicates that whether Arrivy needs to send invitation email to this entity to register an account on Arrivy. By default it is considered as True. <br /> `create_account:` (_boolean_) True means that Arrivy should automatically create a login account for this entity with the provided email and the password (sent as a separate field to this call). By default it is assumed False. <br /> `password:` (_string_) Password for the account to be created. Again, this is only used when invite_to_join is False and create_account is True. <br /> `phone:` (_string_) Phone Number of eht Entity. <br /> `details:` (_string_) Details of the Entity. This is used to write a short introduction of the Entity that will be visible on the customer’s view of the task. <br /> `can_turnoff_location:` (_boolean_) True/False indicates if an entity can turn off location reporting service when using Arrivy mobile app. <br /> `extra_fields:` (_object_) Custom fields provided as key value pair as JSON object. This is very useful as it can help store essentially any data with the entity. <br /> `notifications:` (_object_) A key value pair as JSON stringified. Possible key options are sms and email. Indicate true or false to turn on or off each of these channels for sending out account creation invites. `image_id:` (_integer_) ID of Image. <br /> `image_path:` (_string_) Profile image path for the Entity. This is used in customer’s view of the job. <br /> `color:` (_string_) Color of the entity. Color should be provided in the form of Hex code. <br /> `external_id:` (_string_) Typically, an id from the client system. <br /> `group_id:` (_integer_) ID of the group of this entity. <br /> `additional_group_ids:` (_string_) Comma separated array of group ids to indicate selected additional groups to which the entity can belong. These group ids are returned by Arrivy in response to /api/groups/new or /api/groups. <br /> `skills:` (_string_) Comma separated names of the skills. The skills will be created (if they do not already exist with the same name) and will be assigned with the entity. <br /> `ref:` (_string_) Source/Reference of the user account being created along with the entity. <br /> `allow_login_in_kiosk_mode_only:` (_boolean_) True/False which indicates whether to register the entity in kiosk mode or not. If True, the entity will be allowed to login in kiosk mode only. <br /> `company_id:` (_integer_) Optional param to create entity in 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:
- Entity APIs
summary: Delete a specific entity
description: Delete a specific entity.
operationId: delete_entity
parameters:
- name: entity_id
in: path
description: ID of the entity.
required: true
schema:
type: integer
- name: company_id
in: query
description: Optional param to delete entity 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 entity_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: []
/entities:
get:
tags:
- Entity APIs
summary: List all Entities
description: List all entities in the company. You can provide some filter criterias to this API as query parameters. Response is an array of entities. Each entity will have always have a `name`, `id` and `type` while other fields are optional. Optional fields include `email`, `phone`, `details`, `extra_fields`, `group_id`, `image_path` etc.
operationId: get_all_entities
parameters:
- name: page
in: query
description: Optional page number to fetch.
required: false
schema:
type: integer
- name: items_per_page
in: query
description: Optional entities per page.Max allowed limit is 50.
required: false
schema:
type: integer
- name: email
in: query
description: Optional param to get entities using email. The entity matching this email will be returned.
required: false
schema:
type: string
- name: external_id
in: query
description: Optional param to get entities using external_id. The entity matching this external_id will be returned.
required: false
schema:
type: string
- name: group_id
in: query
description: Optional param to get entities part of a specific group within the company. This is an internal arrivy group ID that should be known before-hand. Look at the complete reference on how to fetch all group_ids.
required: false
schema:
type: integer
- name: skill_ids
in: query
description: Comma separated array of skill ids to filter out the entities. These skill ids are the ids returned by Arrivy in response to /api/skills/new or /api/skills.
required: false
schema:
type: string
- name: fetch_last_location
in: query
description: True/False which is used to get the last location report of the entity.
required: false
schema:
type: boolean
- name: fetch_permission_groups
in: query
description: True/False which is used to get the permissions for each of the entities. It returns the array of roles which are “Admin”, “Scheduler” etc. with its status as True/False that describes the permissions for the entity.
required: false
schema:
type: boolean
- name: company_id
in: query
description: Optional param to view entity 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:
id:
type: integer
example: 5348024557502464
type:
type: string
example: Night-Shift Driver
owner:
type: integer
example: 5629499534213120
name:
type: string
example: John
email:
type: string
example: john@doe.com
phone:
type: string
example: +4356744 789
details:
type: string
example: Joe loves his work
extra_fields:
type: object
example: null
group_id:
type: integer
example: null
image_id:
type: integer
example: 12345
image_path:
type: string
example: https://...../....
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: INVALID_INPUT
description:
type: string
example: Invalid items_per_page
'401':
description: Not Authorized
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: UNAUTHORIZED
description:
type: string
example: Wrong Credentials
security:
- AuthKey: []
AuthToken: []
components:
securitySchemes:
AuthKey:
type: apiKey
name: X-Auth-Key
in: header
AuthToken:
type: apiKey
name: X-Auth-Token
in: header