Simple In/Out API v4 Documentation

Welcome to the Simple In/Out API! You can use our API to access Simple In/Out data. You can request both read and write access.

The Simple In/Out v4 API is a RESTful (mostly) API protected by OAuth 2.

Rate Limiting

APIv4 is protected by daily rate limits. Currently, your application can access APIv4 up to 10,000 times per 24 hour period. Every request to APIv4 will return with two headers: X-RateLimit-Limit and X-RateLimit-Remaining. X-RateLimit-Limit will indicate the total number of requests that can be made against APIv4 over a 24 hour period (always 10,000 for now). X-RateLimit-Remaining will indicate how many requests you have left.

When you’ve run out of requests, APIv4 will return a HTTP status of 429 indicating Too Many Requests.

Expansions

Some of our APIs allow you to include additional information. This saves on API calls, as you can retrieve related information in the primary call and avoid additional requests.

When an API supports including additional information, it does so via the expand query parameter. This is a comma-delimited list of resources to include. We support expansions via embedding directly into the payload.

The Meta object

Most API payloads include a meta object to provide additional details about the requested resource(s). This includes paging most often, and sometimes additional information about the user making the request. For some payloads there may be additional items in the meta.

Here’s an example of a meta object

{"meta": {
  "paging": {
    "page": 1,
    "page_size": 25,
    "page_count": 2,
    "count": 47,
    "previous_page": null,
    "next_page": 2,
    "first_href": "https://www.simpleinout.com/api/v4/beacons",
    "last_href": "https://www.simpleinout.com/api/v4/beacons?page=2",
    "previous_href": null,
    "next_href": "https://www.simpleinout.com/api/v4/beacons?page=2"
  },
  "last_updated_at": {
    "announcements": 1435258926,
    "beacons": 1435250484,
    "favorites": 1437151284,
    "fences": 1436546484,
    "groups": 1436287284,
    "networks": 1436287284,
    "settings": 1439916084
  },
  emergency: nil
}}

Pagination

Pagination occurs when requesting multiple objects. Information about this appears in the meta object.

Name Description
page the page number currently being returned
page_size the number of results per page
page_count the total number of pages available
count the total number of results
previous_page the number of the previous page
next_page the number of the next page
first_href the URL of the API call for the first page of results
last_href the URL of the API call for the last page of results
previous_href the URL of the API call for the page of results prior to the current page
next_href the URL of the API call for the page of results after the current page

Last Update At

The last_updated_at attribute in the meta object returns the epoch time indicating the last time certain resources have been updated. This applies to the authorized user’s company. By storing these dates, you can discover when resources have been updated without having to poll those resources on a regular basis.

If Modified Since and If None Match

Most of the GET requests to the API support the If-Modified-Since and If-None-Match headers. If these two headers are present, the GET request will only return a payload if the relevant data has been updated since the time specified in the If-Modified-Since header and the ETag in the If-None-Match header. If it has been updated since, the payload will be the same as usual. If the data has not been updated, the return will be empty with a HTTP status of 304 (Not Modified). The format of the time is in the HTTP specification, while the ETag should be the same as that returned when a request has been made previously.

When a GET API returns data, the Last-Modified header will be present providing the exact time it’s been modified. This date should be used for future If-Modified-Since requests. The ETag header will be present providing the hash value representing the returned payload. This hash should be used for future If-None-Match requests.

Range Searching

Some integer or date/time fields can be searched by using operators. This permits exact searches, as well as less than, greater than, or between. For these fields, you have an array of options.

  • For exact matches, simply include the value. Date/time fields use epoch time, so it’s almost impossible to get an exact match to the second. Examples are 18 or 1524168783.
  • For ranges based on a single value, you may prepend a symbol to the front of the value. The symbols <, >, <=, or >= are supported. Examples are <18 or >=1524168783.
  • For between range searches, the .. operator is used in between the two values. This includes the values on both ends, as well as those in between. Examples are 9..18 or 1523854800..1524459599.

Sorting

When requesting multiple objects, most of the time you’ll have some sorting options available. Sorting occurs by passing in the sort query parameter. The value is a comma-delimited string of fields in the order you wish them to be sorted. By default, all fields will sort in ascending fashion, but you can sort in descending fashion by including a - sign before the field. An example of this would be sort=name,-begin_at.

Errors

Error objects in Simple In/Out consist of three parts: code, message, and details.

  • code corresponds with those listed below. These provide context as to what type of error occurred.
  • message is an English plain-text reading of what happened. This should be used for further developer debugging, but should not be relied on to remain consistent over time. While these messages can be displayed to end-users, it is highly discouraged as they can change without notice and they are always going to be in English.
  • details provides an array of information in the case of validation failures. This will typically be populated with 5005 validation errors, though they also can appear with improperly formatted status updates (2002). The format of the objects in the array are key: value pairs, whereby key is the name of a field and value is one of a number of possible strings to indicated more specifically what was invalid with the input. Please note that while the key will typically be a parameter on the object, it can occasionally be base for errors that fail validation but don’t apply to a particular field.

An example of an error payload:

{
  "code": 5005,
  "message": "Validation Failure: Name can't be blank, UUID is invalid, Beacons exceed company limit of 100",
  "details": [
    { "name": "blank" },
    { "uuid": "invalid" },
    { "base": "greater_than" }
  ]
}

Error Codes

1002: Company is Disabled

Either the user’s company was on a trial and the trial has expired or the company has let their subscription to Simple In/Out expire. This error will present itself on almost all APIs and will return with the status code 403.


2002: Status Failure

The status update could not be completed.


5001: Bad Range

The integer or date value/range is invalid.


5002: Unknown Sort

The sort requested does not exist. The full message of this error will provide more explanation.


5003: Unknown Expansion

The expansion requested does not exist. The full message of this error will provide more explanation.


5005: Validation Failure

When attempting to create/update/delete the object, some data was either missing or invalid. The full message of this error will provide more explanation.


5007: Parameters Missing

A required parameter for this API was missing.


5008: Array Required

A parameter which is required to be an array was passed something other than an array.


5009: Unknown Only

The only field requested does not exist. The full message of this error will provide more explanation.


5010: Invalid Float

The floating point number is invalid.


5012: Invalid JSON

The posted JSON body is invalid.


5013: Invalid Page Size of Zero

The page_size parameter cannot be zero.


5014: Invalid mime-type requested

An invalid mime-type was requested.

Error Details

taken

The attribute is not unique

inclusion

The attribute is not in the list of acceptable values

invalid

The attribute is not valid

empty

The attribute cannot be empty

blank

The attribute cannot be blank

too_long

The attribute is too long

not_a_hex

The attribute is not a valid hex color code

not_a_number

The attribute is not a number

not_an_integer

The attribute is not an integer

greater_than

The attribute is greater than a predefined limit

greater_than_or_equal_to

The attribute is greater than or equal to a predefined limit

less_than

The attribute is less than a predefined floor

less_than_or_equal_to

The attribute is greater than or equal to a predefined floor

too_long

The attribute is longer than allowed

too_short

The attribute is shorter than allowed

Forbidden Requests (403)

When the user is authenticated, but doesn’t have the necessary permissions to perform an action, the server will respond with the status code of 403 and include the user’s privileges in the payload.

Example payload:

{
  "company": {
    "id": "1",
    "scheduled_statuses": true
  },
  "user": {
    "id": "5",
    "roles": {
      "name": "Regular User",
      "billing": false
      "followed_users": false,
      "reminders": false,
      "safeties": false,
      "user_board": true,
      "manage_all_announcements": true,
      "manage_company_and_users": false,
      "manage_groups_and_memberships": false,
      "manage_member_announcements": false,
      "manage_others_archives": false,
      "manage_others_futures": false,
      "manage_others_status": false,
      "manage_own_archives": false,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": false,
      "view_user_board_updated_at": true,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "created_at": 1506268448,
      "updated_at": 1506269853
    }
  }
}

The privileges payload may not exist on all forbidden responses. In the cases when an error code is used, such as when a company is disabled, only the code and message will be returned.

Web Hooks

Web Hooks are a great way to be notified when something happens inside Simple In/Out. When you add a Web Hook URL to Simple In/Out, we’ll send a request to that URL with JSON in the body to tell you about things that have happened.

Currently, this applies to only three event types: status.new, status.schedule, and status.destroy, though many may be added in the future. It is strongly advised that you code against the type attribute on the root of the JSON object to avoid new event types being added in the future having unexpected impacts on your code.

The root JSON keys define the basics and out of the box are compatible with Slack’s incoming webhooks. This also means that the text with be formatted in Markdown. Within the data object is much of the information specific to Simple In/Out, including ids that can be used in combination with APIv4 to request further information.

{
  "username": "Bojack Horseman",
  "email": "bojack@simplymadeapps.com",
  "icon_url": "http://bojackhorseman.com/avatar.gif",
  "text": "*In*: In Hollywoo",
  "type": "status.new",
  "data": {
    "user_id": "34858",
    "status": "in",
    "comment": "In Hollywoo",
    "created_at": 1448046759,
    "admin": {
      "id": "2844", "name": "Princess Carolyn"
    },
    "application": {
      "id": "84774", "name": "Simple In/Out iOS"
    }
  }
}



Announcements

Create a announcement

Creates a new announcement. Once this announcement is created, it will appear in the company’s announcements within the Simple In/Out apps. Users must have a role that permits managing announcements to create announcements. Companies are limited to 100 announcements.

Punto de llegada

POST /api/v4/announcements

Parametros

Name Description
announcement[message] requerido (string) the name of the announcement
announcement[push] (boolean) whether this announcement should trigger a push notification to users, defaults to false
announcement[group_id] (string) restrict the announcement to a specific group, defaults to no restrictions
announcement[expires_at] (integer) the epoch time when the announcement should expire, defaults to no expiration
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user'

Solicitud

Ruta

POST /api/v4/announcements

Encabezados

Content-Type: application/json
Authorization: Bearer 6-Cm8ShHg7M4kRVlsLcDN85jVRlm-zB60Dmh7bxqmh8

Cuerpo

{
  "announcement": {
    "message": "Evacuate the building",
    "push": false,
    "group_id": "23237",
    "expires_at": 1761506986
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/announcements" -d '{"announcement":{"message":"Evacuate the building","push":false,"group_id":"23237","expires_at":1761506986}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer 6-Cm8ShHg7M4kRVlsLcDN85jVRlm-zB60Dmh7bxqmh8"

Respuesta

Simulated Response

Campos de respuesta

Name Description
announcements (object) the newly created announcement attributes

Estado

201

Encabezados

ETag: W/"70e2a64650a5ea33a02f8b1fb384ab99"

Cuerpo

{
  "announcements": {
    "id": "3663",
    "group_id": "23237",
    "user_id": "440647",
    "message": "Evacuate the building",
    "push": false,
    "expires_at": 1761506986,
    "created_at": 1761420586,
    "updated_at": 1761420586
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1761420586,
      "beacons": 1754422186,
      "desktop_presences": 1752953386,
      "favorites": 1757186986,
      "fences": 1760556586,
      "groups": 1761420586,
      "networks": 1754940586,
      "roles": 1761420586,
      "settings": 1761420586
    },
    "emergency": null
  }
}

Delete an announcement

Deletes an existing announcement. Users must have a role that permits managing the announcements to delete announcements.

Punto de llegada

DELETE /api/v4/announcements/:id

Solicitud

Ruta

DELETE /api/v4/announcements/3660

Encabezados

Content-Type: application/json
Authorization: Bearer PdCiDytAXMNG4Nisre5_DdeQovA0Xc0CG4kAwU-2_B0

cURL

curl "https://www.simpleinout.com/api/v4/announcements/3660" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer PdCiDytAXMNG4Nisre5_DdeQovA0Xc0CG4kAwU-2_B0"

Respuesta

Simulated Response

Estado

204

List all announcements

Return a list of all the announcements belonging to the company.

Punto de llegada

GET /api/v4/announcements

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user'

Solicitud

Ruta

GET /api/v4/announcements

Encabezados

Content-Type: application/json
Authorization: Bearer bSJyaEOowSSeol4NDzdnUNhH1YgzXaOLQwVpfxCcp4s

cURL

curl -g "https://www.simpleinout.com/api/v4/announcements" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer bSJyaEOowSSeol4NDzdnUNhH1YgzXaOLQwVpfxCcp4s"

Respuesta

Simulated Response

Campos de respuesta

Name Description
announcements (array) an array of announcements

Estado

200

Encabezados

ETag: W/"1ea6257a0be0ca88aeecdfa527fe5e63"
Last-Modified: Sat, 25 Oct 2025 19:29:46 GMT

Cuerpo

{
  "announcements": [
    {
      "id": "3661",
      "group_id": null,
      "user_id": "440646",
      "message": "Nobis eum consequatur laboriosam.",
      "push": false,
      "expires_at": 1761506986,
      "created_at": 1761420586,
      "updated_at": 1761420586
    },
    {
      "id": "3662",
      "group_id": null,
      "user_id": "440646",
      "message": "Praesentium et eligendi debitis.",
      "push": false,
      "expires_at": 1761506986,
      "created_at": 1761420586,
      "updated_at": 1761420586
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/announcements",
      "last_href": "http://example.org/api/v4/announcements",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1761420586,
      "beacons": 1755458985,
      "desktop_presences": 1756754985,
      "favorites": 1753644585,
      "fences": 1754767785,
      "groups": 1754422185,
      "networks": 1760902185,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Authentication

Authorization

Authorization is required to access the Simple In/Out API. This results in a HTTP 302 redirect to simpleinout.com. There, Simple In/Out will ask the user for their credentials and verify they wish to grant your application permission to act on their behalf. If they allow it, Simple In/Out will send a request to your redirect_uri with a code that you can use in the Authorization Code grant to have access and refresh tokens to access the API.

Punto de llegada

GET /oauth/authorize

Parametros

Name Description
response_type requerido (string) the type of authorization to use, in this case always 'code'
client_id requerido (string) your API client key
redirect_uri requerido (string) the URI to return the user to after authenticating, must match those registered with Simple In/Out
scope requerido (string) requested scope, either 'read' or 'write', by default 'read'
locale (string) the language for authorization. Available locales: en, en-au, en-ca, en-gb, de, es, fr, fr-ca. Defaults to 'en'

Solicitud

Ruta

GET /oauth/authorize?response_type=code&client_id=PLACE_YOUR_API_CLIENT_ID_HERE&redirect_uri=https%3A%2F%2Fwww.simplymadeapps.com%2Fredirect%2Furl&scope=write&locale=en

Encabezados

Content-Type: application/json

Parámetros de la consulta

response_type=code
client_id=PLACE_YOUR_API_CLIENT_ID_HERE
redirect_uri=https://www.simplymadeapps.com/redirect/url
scope=write
locale=en

cURL

curl -g "https://www.simpleinout.com/oauth/authorize?response_type=code&client_id=PLACE_YOUR_API_CLIENT_ID_HERE&redirect_uri=https%3A%2F%2Fwww.simplymadeapps.com%2Fredirect%2Furl&scope=write&locale=en" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json"

Respuesta

Simulated Response

Estado

302

Authorization Code grant

Authorization Code should be used for accessing the API on behalf of a particular user. This is useful for pulling information about the user, or customizing the return of some APIs by the user’s preference.

The first step here is to have your user authorize your app for use. To do this, send your user to our site as noted to the left, passing your client_id and your redirect_uri. We’ll handle asking for the user, authenticating they are who they say they are, and handling the authorization (asking the user for permission on your behalf).

Once your user successfully authorizes your application, they will be redirected back to you. In this response will be a code in the form of a query string. Use this code to request tokens from Simple In/Out. You’ll then receive an access token and refresh token.

Punto de llegada

POST /oauth/token

Parametros

Name Description
grant_type requerido (string) type of grant to use
client_id requerido (string) your API client key
client_secret requerido (string) your API client secret
code requerido (string) if using Authorization Code grant, this is the code that is returned from Simple In/Out
redirect_uri requerido (string) the URI to return the user to after authenticating, must match those registered with Simple In/Out
scope (string) requested scope, either 'read' or 'write', defaults to 'read'

Solicitud

Ruta

POST /oauth/token

Encabezados

Content-Type: application/json

Cuerpo

{
  "grant_type": "authorization_code",
  "client_id": "YOUR_API_CLIENT_ID",
  "client_secret": "YOUR_API_CLIENT_SECRET",
  "code": "RJkSnGmTeX63xcphStuOzKo_y6swKdCADmddsFsRcFo",
  "redirect_uri": "https://www.simplymadeapps.com/redirect/url"
}

cURL

curl "https://www.simpleinout.com/oauth/token" -d '{"grant_type":"authorization_code","client_id":"YOUR_API_CLIENT_ID","client_secret":"YOUR_API_CLIENT_SECRET","code":"RJkSnGmTeX63xcphStuOzKo_y6swKdCADmddsFsRcFo","redirect_uri":"https://www.simplymadeapps.com/redirect/url"}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json"

Respuesta

Simulated Response

Campos de respuesta

Name Description
access_token (string) the access token used to make API requests
refresh_token (string) used with the Refresh Token grant type to request a new token
token_type (string) identifies the type of token
expires_in (integer) length of time, in seconds, that the token will be honored
scope (string) the scope of the token, either 'read' or 'write'
created_at (integer) the time the token was issued
user (object) the authenticated user's id, company id, and role.

Estado

200

Encabezados

ETag: W/"2d4ff316447ca5bf1c72bdaa8425f4b9"

Cuerpo

{
  "access_token": "jS9-BpVic863rzh0DQASRIL9T9pM6t_JY9KIsmWd9I0",
  "token_type": "Bearer",
  "expires_in": 7200,
  "refresh_token": "b4396yAT3O5Fud9YB2od0mmvOWPUuf4P_90_8zQIyLc",
  "scope": "write",
  "created_at": 1761420585,
  "user": {
    "id": "440619",
    "company_id": "223727",
    "roles": {
      "id": "990516",
      "name": "Administrator",
      "billing": true,
      "followed_users": true,
      "reminders": true,
      "safeties": true,
      "user_board": true,
      "manage_all_announcements": true,
      "manage_company_and_users": true,
      "manage_member_announcements": false,
      "manage_groups_and_memberships": true,
      "manage_others_archives": true,
      "manage_others_futures": true,
      "manage_others_status": true,
      "manage_own_archives": true,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": true,
      "view_user_board_updated_at": true,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "created_at": 1761420585,
      "updated_at": 1761420585
    }
  }
}

Refresh Token grant

Refresh Token should be used to renew your access token in the event that it has expired. This is useful for regaining access without again having to as the user for credentials.

Punto de llegada

POST /oauth/token

Parametros

Name Description
grant_type requerido (string) type of grant to use, in this case always 'refresh_token'
client_id requerido (string) your API client key
client_secret requerido (string) your API client secret
refresh_token requerido (string) your refresh token

Solicitud

Ruta

POST /oauth/token

Encabezados

Content-Type: application/json

Cuerpo

{
  "grant_type": "refresh_token",
  "client_id": "YOUR_API_CLIENT_ID",
  "client_secret": "YOUR_API_CLIENT_SECRET",
  "refresh_token": "xnqrad3muz9piwq1qj2w1woi6w6v2vj2"
}

cURL

curl "https://www.simpleinout.com/oauth/token" -d '{"grant_type":"refresh_token","client_id":"YOUR_API_CLIENT_ID","client_secret":"YOUR_API_CLIENT_SECRET","refresh_token":"xnqrad3muz9piwq1qj2w1woi6w6v2vj2"}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json"

Respuesta

Simulated Response

Campos de respuesta

Name Description
access_token (string) the access token used to make API requests
refresh_token (string) used with the Refresh Token grant type to request a new token
token_type (string) identifies the type of token
expires_in (integer) length of time, in seconds, that the token will be honored
scope (string) the scope of the token, either 'read' or 'write'
created_at (integer) the time the token was issued
user (object) the authenticated user's id and role.

Estado

200

Encabezados

ETag: W/"6e2be31baec9c4d0645c827f56ba46ff"

Cuerpo

{
  "access_token": "Jo9mwFgY7u7vbKEDMeQ6aHUeHjFLsLmi_1Q93-EoXr8",
  "token_type": "Bearer",
  "expires_in": 604800,
  "refresh_token": "6_CIbc_X4iRLdSQc1yv3vt0My88MENt7HGok9Lz02Ls",
  "scope": "write",
  "created_at": 1761420585,
  "user": {
    "id": "440620",
    "company_id": "223728",
    "roles": {
      "id": "990520",
      "name": "Administrator",
      "billing": true,
      "followed_users": true,
      "reminders": true,
      "safeties": true,
      "user_board": true,
      "manage_all_announcements": true,
      "manage_company_and_users": true,
      "manage_member_announcements": false,
      "manage_groups_and_memberships": true,
      "manage_others_archives": true,
      "manage_others_futures": true,
      "manage_others_status": true,
      "manage_own_archives": true,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": true,
      "view_user_board_updated_at": true,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "created_at": 1761420585,
      "updated_at": 1761420585
    }
  }
}

Revoke a token

Revokes a token, rendering it invalid.

Punto de llegada

POST /oauth/revoke

Parametros

Name Description
client_id requerido (string) your API client key
client_secret requerido (string) your API client secret
token requerido (string) the token to revoke

Solicitud

Ruta

POST /oauth/revoke

Encabezados

Content-Type: application/json

Cuerpo

{
  "client_id": "8389076701304",
  "client_secret": "0977359403458",
  "token": "8BBxl36zwqSnOAgRhgR5rIMCd5kX3_cRj-x4BASlVQo"
}

cURL

curl "https://www.simpleinout.com/oauth/revoke" -d '{"client_id":"8389076701304","client_secret":"0977359403458","token":"8BBxl36zwqSnOAgRhgR5rIMCd5kX3_cRj-x4BASlVQo"}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json"

Respuesta

Simulated Response

Estado

200

Encabezados

ETag: W/"44136fa355b3678a1146ad16f7e8649e"

Cuerpo

{
}

Token information

Provides details about the OAuth token.

Punto de llegada

GET /oauth/token/info

Solicitud

Ruta

GET /oauth/token/info

Encabezados

Content-Type: application/json
Authorization: Bearer YC-qEHBS6VA2wPcqeYsqTc0Y1NipAJ-pPln-irO-umE

cURL

curl -g "https://www.simpleinout.com/oauth/token/info" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer YC-qEHBS6VA2wPcqeYsqTc0Y1NipAJ-pPln-irO-umE"

Respuesta

Simulated Response

Campos de respuesta

Name Description
resource_owner_id (integer) the id of the user
scopes (array) the scopes this token is authorized to use
expires_in_seconds (integer) the number of seconds until the token expires
application (object) information about the application
created_at (integer) the time the token was issued

Estado

200

Encabezados

ETag: W/"2c1806b3e2a5532f37f7363e8dc5bcf1"

Cuerpo

{
  "resource_owner_id": 440615,
  "scope": [
    "read"
  ],
  "expires_in": 604800,
  "application": {
    "uid": "3764951272622"
  },
  "created_at": 1761420584
}

Beacons

Create a beacon

Creates a new beacon. Once this beacon is created, it will appear in the company’s beacons within the Simple In/Out apps. The UUID can then be added to a hardware beacon to broadcast. Users must have a role that permits managing the company to create beacons. Companies are limited to 100 Beacons.

Punto de llegada

POST /api/v4/beacons

Parametros

Name Description
beacon[name] requerido (string) the name of the beacon
beacon[uuid] (string) the unique beacon identifier
beacon[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
beacon[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
beacon[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
beacon[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

POST /api/v4/beacons

Encabezados

Content-Type: application/json
Authorization: Bearer eNVBDM5vpT8rxMke4cGVzed823i1GaBbwJOZDBqChac

Cuerpo

{
  "beacon": {
    "name": "My Office",
    "uuid": "6EA4801F-4D41-4114-AFA7-7EC977C81B41"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/beacons" -d '{"beacon":{"name":"My Office","uuid":"6EA4801F-4D41-4114-AFA7-7EC977C81B41"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer eNVBDM5vpT8rxMke4cGVzed823i1GaBbwJOZDBqChac"

Respuesta

Simulated Response

Campos de respuesta

Name Description
beacons (object) the newly created beacon attributes

Estado

201

Encabezados

ETag: W/"bff4728ba46af396fd345aea68aaf47e"

Cuerpo

{
  "beacons": {
    "id": "11089",
    "name": "My Office",
    "uuid": "6EA4801F-4D41-4114-AFA7-7EC977C81B41",
    "comment_on_entry": "In at My Office",
    "comment_on_exit": "Left My Office",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420587,
    "updated_at": 1761420587
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1760124587,
      "beacons": 1761420587,
      "desktop_presences": 1756927787,
      "favorites": 1759174187,
      "fences": 1760988587,
      "groups": 1758310187,
      "networks": 1759951787,
      "roles": 1761420587,
      "settings": 1761420587
    },
    "emergency": null
  }
}

Delete a beacon

Deletes an existing beacon. Users must have a role that permits managing the company to delete beacons.

Punto de llegada

DELETE /api/v4/beacons/:id

Solicitud

Ruta

DELETE /api/v4/beacons/11092

Encabezados

Content-Type: application/json
Authorization: Bearer FxkJQ7ZipJJcWJGR7La9KpygtyMJN2kRVV7R8BTWRBE

cURL

curl "https://www.simpleinout.com/api/v4/beacons/11092" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer FxkJQ7ZipJJcWJGR7La9KpygtyMJN2kRVV7R8BTWRBE"

Respuesta

Simulated Response

Estado

204

List all beacons

Return a list of all the beacons belonging to the company.

Punto de llegada

GET /api/v4/beacons

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/beacons

Encabezados

Content-Type: application/json
Authorization: Bearer dWSn4x1J7x8mr7G6JuMflrZgvaou2cVJDjj0RKjgO4o

cURL

curl -g "https://www.simpleinout.com/api/v4/beacons" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer dWSn4x1J7x8mr7G6JuMflrZgvaou2cVJDjj0RKjgO4o"

Respuesta

Simulated Response

Campos de respuesta

Name Description
beacons (array) an array of beacons

Estado

200

Encabezados

ETag: W/"c6b9dfa2e9c619459add48f0ecf2bb6f"
Last-Modified: Sat, 25 Oct 2025 19:29:47 GMT

Cuerpo

{
  "beacons": [
    {
      "id": "11090",
      "name": "3 - East Darellborough",
      "uuid": "D120BB04-E37F-4307-8BA6-0F22FD612644",
      "comment_on_entry": "In at 3 - East Darellborough",
      "comment_on_exit": "Left 3 - East Darellborough",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420587,
      "updated_at": 1761420587
    },
    {
      "id": "11091",
      "name": "4 - East Hugoberg",
      "uuid": "E40310D9-BF6F-4398-A759-31F7B4FB18FB",
      "comment_on_entry": "In at 4 - East Hugoberg",
      "comment_on_exit": "Left 4 - East Hugoberg",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420587,
      "updated_at": 1761420587
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/beacons",
      "last_href": "http://example.org/api/v4/beacons",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1754854187,
      "beacons": 1761420587,
      "desktop_presences": 1753644587,
      "favorites": 1760642987,
      "fences": 1758310187,
      "groups": 1759087787,
      "networks": 1757273387,
      "roles": 1761420587,
      "settings": 1761420587
    },
    "emergency": null
  }
}

Update a beacon

Updates an existing beacon. Please note that if the UUID of the beacon is updated, any corresponding hardware must also be updated to broadcast the new UUID. Users must have a role that permits managing the company to update beacons.

Punto de llegada

PATCH /api/v4/beacons/:id

Parametros

Name Description
beacon[name] (string) the name of the beacon
beacon[uuid] (string) the unique beacon identifier
beacon[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
beacon[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
beacon[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
beacon[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

PATCH /api/v4/beacons/11088

Encabezados

Content-Type: application/json
Authorization: Bearer Zq1ly4iDiRCOxCI9hH4n1n98qU8fQyB--CYFFAmW8Cg

Cuerpo

{
  "beacon": {
    "name": "My Renamed Office"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/beacons/11088" -d '{"beacon":{"name":"My Renamed Office"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer Zq1ly4iDiRCOxCI9hH4n1n98qU8fQyB--CYFFAmW8Cg"

Respuesta

Simulated Response

Campos de respuesta

Name Description
beacons (object) the newly updated beacon attributes

Estado

200

Encabezados

ETag: W/"028b73adf5bc8ca2ee53358ac2618084"

Cuerpo

{
  "beacons": {
    "id": "11088",
    "name": "My Renamed Office",
    "uuid": "EC505E93-F90C-4EFA-9157-6ED0A0DD7716",
    "comment_on_entry": "In at 2 - East Mingland",
    "comment_on_exit": "Left 2 - East Mingland",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420587,
    "updated_at": 1761420587
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1753471787,
      "beacons": 1761420587,
      "desktop_presences": 1760902187,
      "favorites": 1756322987,
      "fences": 1756409387,
      "groups": 1757014187,
      "networks": 1758396587,
      "roles": 1761420587,
      "settings": 1761420587
    },
    "emergency": null
  }
}

Companies

Retrieve the current company

Return the company the authorized user belongs to.

Punto de llegada

GET /api/v4/companies/my

Parametros

Name Description
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'billing', 'beacons', 'fences', 'groups', 'favorites', 'networks', 'roles'

Solicitud

Ruta

GET /api/v4/companies/my

Encabezados

Content-Type: application/json
Authorization: Bearer MnNbv7q7cG1saIbuq0q8aVfDxTzYGloNkt43plrL5AQ

cURL

curl -g "https://www.simpleinout.com/api/v4/companies/my" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer MnNbv7q7cG1saIbuq0q8aVfDxTzYGloNkt43plrL5AQ"

Respuesta

Simulated Response

Campos de respuesta

Name Description
companies[name] (string) the authorized user's company name
companies[logo_url] (string) url of an image to be used as a fullscreen logo
companies[default_role_id] (string) the unique identifier for the default role
companies[scheduled_statuses] (boolean) whether Scheduled Statuses feature is enabled
companies[available_statuses] (array) the statuses that are available to the company
companies[created_at] (integer) epoch time the company was created

Estado

200

Encabezados

ETag: W/"9ccab26e58cb7470de63e654719fa5a5"
Last-Modified: Sat, 25 Oct 2025 19:29:45 GMT

Cuerpo

{
  "companies": {
    "id": "223738",
    "announcements_enabled": true,
    "available_statuses": [
      "in",
      "out"
    ],
    "name": "Kuhlman Inc",
    "scheduled_statuses": true,
    "default_role_id": "990562",
    "logo_url": null,
    "created_at": 1761420585
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1759433385,
      "beacons": 1758396585,
      "desktop_presences": 1759174185,
      "favorites": 1756495785,
      "fences": 1760729385,
      "groups": 1761334185,
      "networks": 1755545385,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Futures

Delete a future status

Deletes an existing scheduled status. The company must have scheduled statuses turned on. Users must have a role that permits managing their own scheduled statuses to delete one of their scheduled statuses. Users must have a role that permits managing the scheduled statuses of others to delete another user’s scheduled status.

Punto de llegada

DELETE /api/v4/futures/:id

Solicitud

Ruta

DELETE /api/v4/futures/12353

Encabezados

Content-Type: application/json
Authorization: Bearer Jm5QnqfaP4vVI6XOuQVrylAbndVGWx6D0AuLJ84VsZM

cURL

curl "https://www.simpleinout.com/api/v4/futures/12353" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer Jm5QnqfaP4vVI6XOuQVrylAbndVGWx6D0AuLJ84VsZM"

Respuesta

Simulated Response

Estado

204

List future statuses

List all the scheduled statuses. The company must have scheduled statuses turned on. Users must have a role that permits viewing the scheduled statuses of others or only the authorized user’s scheduled statuses will be returned.

Punto de llegada

GET /api/v4/futures

Parametros

Name Description
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results
status (string) the status: 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
comment (string) the comment, case sensitive, included with the status change
apply_at (string) a date range string for the time this status will be added
user_id (string) the ID of a particular user
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'apply_at', 'status', 'comment'"
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'changed_by_user'

Solicitud

Ruta

GET /api/v4/futures

Encabezados

Content-Type: application/json
Authorization: Bearer d9562a1iiZgqTy-eyxxXh2y5FtLBKtKoJ-PL_rtbtIM

cURL

curl -g "https://www.simpleinout.com/api/v4/futures" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer d9562a1iiZgqTy-eyxxXh2y5FtLBKtKoJ-PL_rtbtIM"

Respuesta

Simulated Response

Campos de respuesta

Name Description
futures (array) an array of matching future statuses

Estado

200

Encabezados

ETag: W/"622b08cab7ba98e7deff857cc0a65af4"
Last-Modified: Sat, 25 Oct 2025 19:29:45 GMT

Cuerpo

{
  "futures": [
    {
      "id": "12351",
      "status": "out",
      "comment": "On Vacation, back Monday",
      "completed": false,
      "apply_at": 1764100800,
      "end_at": 1764273600,
      "user_id": "440642",
      "changed_by_user_id": null
    },
    {
      "id": "12352",
      "status": "out",
      "comment": "At the conference this week",
      "completed": false,
      "apply_at": 1777143600,
      "end_at": null,
      "user_id": "440642",
      "changed_by_user_id": null
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/futures",
      "last_href": "http://example.org/api/v4/futures",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1761161385,
      "beacons": 1754681385,
      "desktop_presences": 1756150185,
      "favorites": 1753990185,
      "fences": 1760556585,
      "groups": 1755804585,
      "networks": 1760124585,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Geofences

Create a fence

Creates a new fence. Once this fence is created, it will appear in the company’s fences within the Simple In/Out apps and website. Users must have a role that permits managing the company to create fences. Companies are limited to 150 Geofences.

Punto de llegada

POST /api/v4/fences

Parametros

Name Description
fence[name] requerido (string) the name of the fence
fence[latitude] requerido (float) the latitude of the center point of the fence
fence[longitude] requerido (float) the longitude of the center point of the fence
fence[radius] requerido (integer) the radius of the fence, in meters
fence[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
fence[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
fence[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
fence[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

POST /api/v4/fences

Encabezados

Content-Type: application/json
Authorization: Bearer iKXU1XYDKMFtV3SgOaYFAGejkeZyLuvuKduVwMujj_0

Cuerpo

{
  "fence": {
    "name": "My Office",
    "latitude": 46.877931,
    "longitude": -96.787459,
    "radius": 150
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/fences" -d '{"fence":{"name":"My Office","latitude":46.877931,"longitude":-96.787459,"radius":150}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer iKXU1XYDKMFtV3SgOaYFAGejkeZyLuvuKduVwMujj_0"

Respuesta

Simulated Response

Campos de respuesta

Name Description
fences (object) the newly created fence attributes

Estado

201

Encabezados

ETag: W/"66ca239fa5ab58cdfde29ec388c88612"

Cuerpo

{
  "fences": {
    "id": "3920",
    "name": "My Office",
    "latitude": "46.877931",
    "longitude": "-96.787459",
    "radius": 150,
    "comment_on_entry": "In at My Office",
    "comment_on_exit": "Left My Office",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420584,
    "updated_at": 1761420584
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1760124584,
      "beacons": 1757618984,
      "desktop_presences": 1760556584,
      "favorites": 1754767784,
      "fences": 1761420584,
      "groups": 1756236584,
      "networks": 1759951784,
      "roles": 1761420584,
      "settings": 1761420584
    },
    "emergency": null
  }
}

Delete a fence

Deletes an existing fence. Users must have a role that permits managing the company to delete fences.

Punto de llegada

DELETE /api/v4/fences/:id

Solicitud

Ruta

DELETE /api/v4/fences/3921

Encabezados

Content-Type: application/json
Authorization: Bearer HA2b8ZODUv7qTj5Dn3ZNeN91kgZ3Z30m8yEF_Z1KmQc

cURL

curl "https://www.simpleinout.com/api/v4/fences/3921" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer HA2b8ZODUv7qTj5Dn3ZNeN91kgZ3Z30m8yEF_Z1KmQc"

Respuesta

Simulated Response

Estado

204

List all fences

Return a list of all the fences belonging to the company.

Punto de llegada

GET /api/v4/fences

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name', 'radius
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/fences

Encabezados

Content-Type: application/json
Authorization: Bearer c3R8M7NkZPGfFtMsW-i-FBqOWD_Zok4DFVhFPVWwG9o

cURL

curl -g "https://www.simpleinout.com/api/v4/fences" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer c3R8M7NkZPGfFtMsW-i-FBqOWD_Zok4DFVhFPVWwG9o"

Respuesta

Simulated Response

Campos de respuesta

Name Description
fences (array) an array of fences

Estado

200

Encabezados

ETag: W/"c74d554a0ca536b1ee559e2ba8e69fe4"
Last-Modified: Sat, 25 Oct 2025 19:29:44 GMT

Cuerpo

{
  "fences": [
    {
      "id": "3922",
      "name": "3 - Reichelton",
      "latitude": "-12.8559509681",
      "longitude": "86.2012556447",
      "radius": 4052,
      "comment_on_entry": "In at 3 - Reichelton",
      "comment_on_exit": "Left 3 - Reichelton",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420584,
      "updated_at": 1761420584
    },
    {
      "id": "3923",
      "name": "4 - North Trina",
      "latitude": "-75.9469919829",
      "longitude": "30.08870937",
      "radius": 13375,
      "comment_on_entry": "In at 4 - North Trina",
      "comment_on_exit": "Left 4 - North Trina",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420584,
      "updated_at": 1761420584
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/fences",
      "last_href": "http://example.org/api/v4/fences",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1760038184,
      "beacons": 1753817384,
      "desktop_presences": 1759519784,
      "favorites": 1761420584,
      "fences": 1761420584,
      "groups": 1760470184,
      "networks": 1754162984,
      "roles": 1761420584,
      "settings": 1761420584
    },
    "emergency": null
  }
}

Update a fence

Updates an existing fence. Users must have a role that permits managing the company to update fences.

Punto de llegada

PATCH /api/v4/fences/:id

Parametros

Name Description
fence[name] (string) the name of the fence
fence[latitude] (float) the latitude of the center point of the fence
fence[longitude] (float) the longitude of the center point of the fence
fence[radius] (integer) the radius of the fence, in meters
fence[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
fence[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
fence[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
fence[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

PATCH /api/v4/fences/3919

Encabezados

Content-Type: application/json
Authorization: Bearer ttATi76JBdtNUdztZhAUjAf29TFL-TcpuVwugGkFTko

Cuerpo

{
  "fence": {
    "name": "My Renamed Geofence"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/fences/3919" -d '{"fence":{"name":"My Renamed Geofence"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer ttATi76JBdtNUdztZhAUjAf29TFL-TcpuVwugGkFTko"

Respuesta

Simulated Response

Campos de respuesta

Name Description
fences (object) the newly updated fence attributes

Estado

200

Encabezados

ETag: W/"7d3bd302dead9bc96370c7e12b210e71"

Cuerpo

{
  "fences": {
    "id": "3919",
    "name": "My Renamed Geofence",
    "latitude": "-61.016286227",
    "longitude": "-112.7284508927",
    "radius": 10683,
    "comment_on_entry": "In at 1 - Thomasenamouth",
    "comment_on_exit": "Left 1 - Thomasenamouth",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420584,
    "updated_at": 1761420584
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1757100584,
      "beacons": 1757014184,
      "desktop_presences": 1758828584,
      "favorites": 1758828584,
      "fences": 1761420584,
      "groups": 1755718184,
      "networks": 1757446184,
      "roles": 1761420584,
      "settings": 1761420584
    },
    "emergency": null
  }
}

Groups

Create a group

Creates a new group. Once this group is created, it will appear in the company’s groups within the Simple In/Out apps and website. Users must have a role that permits managing groups/memberships to create groups. Companies are limited to 100 Groups.

Punto de llegada

POST /api/v4/groups

Parametros

Name Description
group[name] requerido (string) the name of the group

Solicitud

Ruta

POST /api/v4/groups

Encabezados

Content-Type: application/json
Authorization: Bearer fm2-scj6PwEOSPFk7P6cJ8mUSh-t0Qp3mzqgQd1zLcs

Cuerpo

{
  "group": {
    "name": "New Department"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/groups" -d '{"group":{"name":"New Department"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer fm2-scj6PwEOSPFk7P6cJ8mUSh-t0Qp3mzqgQd1zLcs"

Respuesta

Simulated Response

Campos de respuesta

Name Description
groups (object) the newly created group attributes

Estado

201

Encabezados

ETag: W/"58204862bded8eafe20c78fb3410396e"

Cuerpo

{
  "groups": {
    "id": "23240",
    "name": "New Department"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1756063786,
      "beacons": 1752953386,
      "desktop_presences": 1759346986,
      "favorites": 1754076586,
      "fences": 1760383786,
      "groups": 1761420586,
      "networks": 1753039786,
      "roles": 1761420586,
      "settings": 1761420586
    },
    "emergency": null
  }
}

Delete a group

Deletes an existing group. Users must have a role that permits managing groups/memberships to delete groups.

Punto de llegada

DELETE /api/v4/groups/:id

Solicitud

Ruta

DELETE /api/v4/groups/23241

Encabezados

Content-Type: application/json
Authorization: Bearer S0T35_iVTyx_-2Sc6H4GPtJhq_x95N9LQ6rltUU4MYE

cURL

curl "https://www.simpleinout.com/api/v4/groups/23241" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer S0T35_iVTyx_-2Sc6H4GPtJhq_x95N9LQ6rltUU4MYE"

Respuesta

Simulated Response

Estado

204

List all groups

Return a list of all the groups belonging to the company.

Punto de llegada

GET /api/v4/groups

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/groups

Encabezados

Content-Type: application/json
Authorization: Bearer BKWS4OsViYzRHzPMFDgrIo4BFKAgt8lNVi2pnWdPUcw

cURL

curl -g "https://www.simpleinout.com/api/v4/groups" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer BKWS4OsViYzRHzPMFDgrIo4BFKAgt8lNVi2pnWdPUcw"

Respuesta

Simulated Response

Campos de respuesta

Name Description
groups (array) an array of groups

Estado

200

Encabezados

ETag: W/"6aacd61334552faf4d905b5668f141e6"
Last-Modified: Sat, 25 Oct 2025 19:29:46 GMT

Cuerpo

{
  "groups": [
    {
      "id": "23238",
      "name": "Legros, Leannon and Littel2"
    },
    {
      "id": "23239",
      "name": "Hauck-Gislason3"
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/groups",
      "last_href": "http://example.org/api/v4/groups",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1759087786,
      "beacons": 1761334186,
      "desktop_presences": 1758223786,
      "favorites": 1760210986,
      "fences": 1760815786,
      "groups": 1761420586,
      "networks": 1753817386,
      "roles": 1761420586,
      "settings": 1761420586
    },
    "emergency": null
  }
}

Update a group

Updates an existing group. Users must have a role that permits managing groups/memberships to update groups.

Punto de llegada

PATCH /api/v4/groups/:id

Parametros

Name Description
group[name] (string) the name of the group

Solicitud

Ruta

PATCH /api/v4/groups/23242

Encabezados

Content-Type: application/json
Authorization: Bearer pqjotSPrLXgNWEysymfEyNykBQm6CVPm3nSoxj2Mt74

Cuerpo

{
  "group": {
    "name": "Renamed Department"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/groups/23242" -d '{"group":{"name":"Renamed Department"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer pqjotSPrLXgNWEysymfEyNykBQm6CVPm3nSoxj2Mt74"

Respuesta

Simulated Response

Campos de respuesta

Name Description
groups (object) the newly updated group attributes

Estado

200

Encabezados

ETag: W/"5b93186b82311d28d847fb54c0972354"

Cuerpo

{
  "groups": {
    "id": "23242",
    "name": "Renamed Department"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1754422186,
      "beacons": 1760642986,
      "desktop_presences": 1761334186,
      "favorites": 1760297386,
      "fences": 1754162986,
      "groups": 1761420586,
      "networks": 1756582186,
      "roles": 1761420586,
      "settings": 1761420586
    },
    "emergency": null
  }
}

Networks

Create a network

Creates a new network. Once this network is created, it will appear in the company’s networks within the Simple In/Out apps. Users must have a role that permits managing the company to create networks. Companies are limited to 100 Networks.

Punto de llegada

POST /api/v4/networks

Parametros

Name Description
network[name] requerido (string) the name of the network, no longer than 44 characters
network[ssid] requerido (string) the unique network identifier, no longer than 250 characters
network[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
network[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
network[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
network[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

POST /api/v4/networks

Encabezados

Content-Type: application/json
Authorization: Bearer FFlD-K5A7SrPL_xIh9ejkzWoUG1ZsvljspZtfWovWYU

Cuerpo

{
  "network": {
    "name": "My Office",
    "ssid": "Office WiFi Hotspot"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/networks" -d '{"network":{"name":"My Office","ssid":"Office WiFi Hotspot"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer FFlD-K5A7SrPL_xIh9ejkzWoUG1ZsvljspZtfWovWYU"

Respuesta

Simulated Response

Campos de respuesta

Name Description
networks (object) the newly created network attributes

Estado

201

Encabezados

ETag: W/"50803c893400b45b504b5d6d3dd6cb40"

Cuerpo

{
  "networks": {
    "id": "3665",
    "name": "My Office",
    "ssid": "Office WiFi Hotspot",
    "comment_on_entry": "In at My Office",
    "comment_on_exit": "Left My Office",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420585,
    "updated_at": 1761420585
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1756668585,
      "beacons": 1760470185,
      "desktop_presences": 1759951785,
      "favorites": 1759519785,
      "fences": 1754767785,
      "groups": 1757705385,
      "networks": 1761420585,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Delete a network

Deletes an existing network. Users must have a role that permits managing the company to delete networks.

Punto de llegada

DELETE /api/v4/networks/:id

Solicitud

Ruta

DELETE /api/v4/networks/3667

Encabezados

Content-Type: application/json
Authorization: Bearer 2KguXjzEM_I_xfmyICNHtS0QMtwdN_Nfg1-yOZGBB3o

cURL

curl "https://www.simpleinout.com/api/v4/networks/3667" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer 2KguXjzEM_I_xfmyICNHtS0QMtwdN_Nfg1-yOZGBB3o"

Respuesta

Simulated Response

Estado

204

List all networks

Return a list of all the networks belonging to the company.

Punto de llegada

GET /api/v4/networks

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/networks

Encabezados

Content-Type: application/json
Authorization: Bearer GjiJvqbTZbXwfhwrm8rSKT7UAyw4iOL9QdZo8oRlWp0

cURL

curl -g "https://www.simpleinout.com/api/v4/networks" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer GjiJvqbTZbXwfhwrm8rSKT7UAyw4iOL9QdZo8oRlWp0"

Respuesta

Simulated Response

Campos de respuesta

Name Description
networks (array) an array of networks

Estado

200

Encabezados

ETag: W/"f13b9ea8cceb4f2227bcb8257db32e79"
Last-Modified: Sat, 25 Oct 2025 19:29:45 GMT

Cuerpo

{
  "networks": [
    {
      "id": "3668",
      "name": "3 - Lake Jewell",
      "ssid": "kc3gd81tdl3q548km2jm1vqd303zw2rv",
      "comment_on_entry": "In at 3 - Lake Jewell",
      "comment_on_exit": "Left 3 - Lake Jewell",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420585,
      "updated_at": 1761420585
    },
    {
      "id": "3669",
      "name": "4 - Port Donn",
      "ssid": "ugofefnacvs0kv6ebr6ts7r8rssc2b8a",
      "comment_on_entry": "In at 4 - Port Donn",
      "comment_on_exit": "Left 4 - Port Donn",
      "entry": true,
      "exit": true,
      "status_on_entry": "in",
      "status_on_exit": "out",
      "created_at": 1761420585,
      "updated_at": 1761420585
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/networks",
      "last_href": "http://example.org/api/v4/networks",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1757359785,
      "beacons": 1760124585,
      "desktop_presences": 1754854185,
      "favorites": 1757618985,
      "fences": 1753126185,
      "groups": 1753471785,
      "networks": 1761420585,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Update a network

Updates an existing network. Please note that if the SSID of the network is updated, any corresponding hardware must also be updated to broadcast the new SSID. Users must have a role that permits managing the company to update networks.

Punto de llegada

PATCH /api/v4/networks/:id

Parametros

Name Description
network[name] (string) the name of the network, no longer than 44 characters
network[ssid] (string) the unique network identifier, no longer than 250 characters
network[comment_on_entry] (string) the comment applied to status updates on entry, defaults to 'In at {name}'
network[comment_on_exit] (string) the comment applied to status updates on exit, defaults to 'Left {name}'
network[status_on_entry] (string) the status to apply on entry: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'in'
network[status_on_exit] (string) the status to apply on exit: 'in', 'remote', 'busy', 'break', 'out', 'sick', 'vacation', or 'off', defaults to 'out'

Solicitud

Ruta

PATCH /api/v4/networks/3666

Encabezados

Content-Type: application/json
Authorization: Bearer hKYKR8h3Sq735wihJoe1A6GtRCC7UV5pes3L_aquoqo

Cuerpo

{
  "network": {
    "name": "My Renamed Office"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/networks/3666" -d '{"network":{"name":"My Renamed Office"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer hKYKR8h3Sq735wihJoe1A6GtRCC7UV5pes3L_aquoqo"

Respuesta

Simulated Response

Campos de respuesta

Name Description
networks (object) the newly updated network attributes

Estado

200

Encabezados

ETag: W/"a73e541429b093c31a145c156cde9673"

Cuerpo

{
  "networks": {
    "id": "3666",
    "name": "My Renamed Office",
    "ssid": "tcolf892yk5ei7ql3grphh7uyumetpo3",
    "comment_on_entry": "In at 1 - Toyland",
    "comment_on_exit": "Left 1 - Toyland",
    "entry": true,
    "exit": true,
    "status_on_entry": "in",
    "status_on_exit": "out",
    "created_at": 1761420585,
    "updated_at": 1761420585
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1754162985,
      "beacons": 1755977385,
      "desktop_presences": 1758223785,
      "favorites": 1754767785,
      "fences": 1756841385,
      "groups": 1760815785,
      "networks": 1761420585,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Ok

Make sure things are Ok

This API is only used to verify you’ve successfully authorized.

Punto de llegada

GET /api/v4/ok

Parametros

Name Description
meta (string) if any value included, will return meta information instead of a 204 No Content response

Solicitud

Ruta

GET /api/v4/ok

Encabezados

Content-Type: application/json
Authorization: Bearer pdXwZToEVSGrdD6tzZEellxk6PhQFAUZFDVkZa7tRlk

cURL

curl -g "https://www.simpleinout.com/api/v4/ok" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer pdXwZToEVSGrdD6tzZEellxk6PhQFAUZFDVkZa7tRlk"

Respuesta

Simulated Response

Estado

204

Roles

Create a role

Creates a new role. Once this role is created, it will be available to assign to users within the Simple In/Out apps and website. Users must have a role that permits managing the company to create roles. Companies are limited to 100 Roles.

Punto de llegada

POST /api/v4/roles

Parametros

Name Description
role[name] requerido (string) the name of the role, no longer than 255 characters, must be unique for the company
role[billing] (boolean) these users can change the company's plan, credit card, and invoice email/information.
role[followed_users] (boolean) these users can receive notifications on their devices when another user updates their status.
role[reminders] (boolean) these users can manage notifications sent to other users reminding them to update their status.
role[safeties] (boolean) these users can receive notifications when another user hasn't updated their status.
role[user_board] (boolean) these users can see all other users and their current status.
role[manage_all_announcements] (boolean) these users can manage all announcements.
role[manage_groups_and_memberships] (boolean) these users can manage groups and which users are assigned to each group.
role[manage_others_archives] (boolean) these users can change the past statuses of all others by adding and deleting status updates.
role[manage_others_futures] (boolean) these users can schedule future status updates for all other users.
role[manage_others_status] (boolean) these users can change the current status of all users.
role[manage_own_archives] (boolean) these users can change their own past statuses by adding and deleting status updates.
role[manage_own_futures] (boolean) these users can schedule future status updates for themselves.
role[manage_own_status] (boolean) these users can update their own status from any device or the website. If a user is not allowed to update their own status, they can only update their status from a common device running FrontDesk or TimeClock.
role[view_all_announcements] (boolean) these users can view all announcements.
role[view_others_archives] (boolean) these users can view the past status updates made by all other users.
role[view_others_futures] (boolean) these users can view the scheduled status updates for all users.
role[view_others_reports] (boolean) these users can run reports on the status history of all other users.
role[view_user_board_updated_at] (boolean) these users can view the time that status updates were made on the board.
role[member_board] (boolean) these users can see other users within the same groups and their current status.
role[manage_member_announcements] (boolean) these users can manage announcements within the same groups.
role[manage_member_archives] (boolean) these users can change the past statuses of users within the same groups by adding and deleting status updates.
role[manage_member_futures] (boolean) these users can schedule future status updates for users within the same groups.
role[manage_member_status] (boolean) these users can change the current status of users within the same groups.
role[view_member_announcements] (boolean) these users can view announcements for everyone and the groups they belong to.
role[view_member_archives] (boolean) these users can view the past status updates made by users within the same groups.
role[view_member_futures] (boolean) these users can view the scheduled status updates for users within the same groups.
role[view_member_reports] (boolean) these users can run reports on the status history of users within the same groups.

Solicitud

Ruta

POST /api/v4/roles

Encabezados

Content-Type: application/json
Authorization: Bearer pffiHcsILsjvjzQ6FEmHgpKAQDJIAYyT01HsTJOUpg4

Cuerpo

{
  "role": {
    "name": "Billing Role",
    "billing": true,
    "followed_users": false,
    "reminders": false,
    "safeties": false,
    "user_board": false,
    "manage_all_announcements": false,
    "manage_groups_and_memberships": false,
    "manage_others_archives": false,
    "manage_others_futures": false,
    "manage_others_status": false,
    "manage_own_archives": false,
    "manage_own_futures": false,
    "manage_own_status": false,
    "view_all_announcements": true,
    "view_others_archives": false,
    "view_others_futures": false,
    "view_others_reports": false,
    "view_user_board_updated_at": false,
    "member_board": false,
    "manage_member_announcements": false,
    "manage_member_archives": false,
    "manage_member_futures": false,
    "manage_member_status": false,
    "view_member_announcements": false,
    "view_member_archives": false,
    "view_member_futures": false,
    "view_member_reports": false
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/roles" -d '{"role":{"name":"Billing Role","billing":true,"followed_users":false,"reminders":false,"safeties":false,"user_board":false,"manage_all_announcements":false,"manage_groups_and_memberships":false,"manage_others_archives":false,"manage_others_futures":false,"manage_others_status":false,"manage_own_archives":false,"manage_own_futures":false,"manage_own_status":false,"view_all_announcements":true,"view_others_archives":false,"view_others_futures":false,"view_others_reports":false,"view_user_board_updated_at":false,"member_board":false,"manage_member_announcements":false,"manage_member_archives":false,"manage_member_futures":false,"manage_member_status":false,"view_member_announcements":false,"view_member_archives":false,"view_member_futures":false,"view_member_reports":false}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer pffiHcsILsjvjzQ6FEmHgpKAQDJIAYyT01HsTJOUpg4"

Respuesta

Simulated Response

Campos de respuesta

Name Description
roles (object) the newly created role attributes

Estado

201

Encabezados

ETag: W/"4515b984688161a4c851d262701a697e"

Cuerpo

{
  "roles": {
    "id": "990820",
    "name": "Billing Role",
    "billing": true,
    "followed_users": false,
    "reminders": false,
    "safeties": false,
    "user_board": false,
    "manage_all_announcements": false,
    "manage_company_and_users": false,
    "manage_groups_and_memberships": false,
    "manage_member_announcements": false,
    "manage_others_archives": false,
    "manage_others_futures": false,
    "manage_others_status": false,
    "manage_own_archives": false,
    "manage_own_futures": false,
    "manage_own_status": false,
    "view_all_announcements": true,
    "view_member_announcements": false,
    "view_others_archives": false,
    "view_others_futures": false,
    "view_others_reports": false,
    "member_board": false,
    "manage_member_archives": false,
    "manage_member_futures": false,
    "manage_member_status": false,
    "view_member_archives": false,
    "view_member_futures": false,
    "view_member_reports": false,
    "view_user_board_updated_at": false,
    "created_at": 1761420588,
    "updated_at": 1761420588
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1755718188,
      "beacons": 1756582188,
      "desktop_presences": 1758482988,
      "favorites": 1753039788,
      "fences": 1758655788,
      "groups": 1760470188,
      "networks": 1752866988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Delete a role

Deletes an existing role. Users must have a role that permits managing the company to delete roles.

Punto de llegada

DELETE /api/v4/roles/:id

Solicitud

Ruta

DELETE /api/v4/roles/990834

Encabezados

Content-Type: application/json
Authorization: Bearer qX9zls4iqH0QqRt1lcYfmgrR9tLUV8lBfLo9ltSK0Yc

cURL

curl "https://www.simpleinout.com/api/v4/roles/990834" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer qX9zls4iqH0QqRt1lcYfmgrR9tLUV8lBfLo9ltSK0Yc"

Respuesta

Simulated Response

Estado

204

List all roles

Return a list of all the roles belonging to the company.

Punto de llegada

GET /api/v4/roles

Parametros

Name Description
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/roles

Encabezados

Content-Type: application/json
Authorization: Bearer BwoLxnardXSxPWpt-76WwylSFWARBNK34it1sR1D3Ag

cURL

curl -g "https://www.simpleinout.com/api/v4/roles" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer BwoLxnardXSxPWpt-76WwylSFWARBNK34it1sR1D3Ag"

Respuesta

Simulated Response

Campos de respuesta

Name Description
roles (array) an array of roles

Estado

200

Encabezados

ETag: W/"b54362fe70aafa8c9dabe337fdb0c5d8"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "roles": [
    {
      "id": "990822",
      "name": "Manager",
      "billing": false,
      "followed_users": false,
      "reminders": false,
      "safeties": false,
      "user_board": true,
      "manage_all_announcements": true,
      "manage_company_and_users": false,
      "manage_groups_and_memberships": false,
      "manage_member_announcements": false,
      "manage_others_archives": false,
      "manage_others_futures": true,
      "manage_others_status": true,
      "manage_own_archives": false,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": true,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "view_user_board_updated_at": true,
      "created_at": 1761420588,
      "updated_at": 1761420588
    },
    {
      "id": "990824",
      "name": "Limited User",
      "billing": false,
      "followed_users": false,
      "reminders": false,
      "safeties": false,
      "user_board": true,
      "manage_all_announcements": false,
      "manage_company_and_users": false,
      "manage_groups_and_memberships": false,
      "manage_member_announcements": false,
      "manage_others_archives": false,
      "manage_others_futures": false,
      "manage_others_status": false,
      "manage_own_archives": false,
      "manage_own_futures": false,
      "manage_own_status": false,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": false,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "view_user_board_updated_at": true,
      "created_at": 1761420588,
      "updated_at": 1761420588
    },
    {
      "id": "990821",
      "name": "Administrator",
      "billing": true,
      "followed_users": true,
      "reminders": true,
      "safeties": true,
      "user_board": true,
      "manage_all_announcements": true,
      "manage_company_and_users": true,
      "manage_groups_and_memberships": true,
      "manage_member_announcements": false,
      "manage_others_archives": true,
      "manage_others_futures": true,
      "manage_others_status": true,
      "manage_own_archives": true,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": true,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "view_user_board_updated_at": true,
      "created_at": 1761420588,
      "updated_at": 1761420588
    },
    {
      "id": "990823",
      "name": "Regular User",
      "billing": false,
      "followed_users": false,
      "reminders": false,
      "safeties": false,
      "user_board": true,
      "manage_all_announcements": false,
      "manage_company_and_users": false,
      "manage_groups_and_memberships": false,
      "manage_member_announcements": false,
      "manage_others_archives": false,
      "manage_others_futures": false,
      "manage_others_status": false,
      "manage_own_archives": false,
      "manage_own_futures": true,
      "manage_own_status": true,
      "view_all_announcements": true,
      "view_member_announcements": false,
      "view_others_archives": true,
      "view_others_futures": true,
      "view_others_reports": false,
      "member_board": false,
      "manage_member_archives": false,
      "manage_member_futures": false,
      "manage_member_status": false,
      "view_member_archives": false,
      "view_member_futures": false,
      "view_member_reports": false,
      "view_user_board_updated_at": true,
      "created_at": 1761420588,
      "updated_at": 1761420588
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 4,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/roles",
      "last_href": "http://example.org/api/v4/roles",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1757446188,
      "beacons": 1755631788,
      "desktop_presences": 1758742188,
      "favorites": 1758223788,
      "fences": 1753817388,
      "groups": 1757100588,
      "networks": 1755977388,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Retrieve a role

Retrieve an existing role.

Punto de llegada

GET /api/v4/roles/:id

Solicitud

Ruta

GET /api/v4/roles/990829

Encabezados

Content-Type: application/json
Authorization: Bearer s4ZllkNwxYoRqOIyBZhlp5rKv_2N5uQIdl6NfVjrVE4

cURL

curl -g "https://www.simpleinout.com/api/v4/roles/990829" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Sio-Version: 1.0.0" \
	-H "Authorization: Bearer s4ZllkNwxYoRqOIyBZhlp5rKv_2N5uQIdl6NfVjrVE4"

Respuesta

Simulated Response

Campos de respuesta

Name Description
roles (object) the role attributes

Estado

200

Encabezados

ETag: W/"e17eadf26bf5105e5f01bc76bb7794e9"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "roles": {
    "id": "990829",
    "name": "Ortiz, Powlowski and Muller",
    "billing": false,
    "followed_users": false,
    "reminders": false,
    "safeties": false,
    "user_board": false,
    "manage_all_announcements": false,
    "manage_company_and_users": false,
    "manage_groups_and_memberships": false,
    "manage_member_announcements": false,
    "manage_others_archives": false,
    "manage_others_futures": false,
    "manage_others_status": false,
    "manage_own_archives": false,
    "manage_own_futures": false,
    "manage_own_status": false,
    "view_all_announcements": true,
    "view_member_announcements": false,
    "view_others_archives": false,
    "view_others_futures": false,
    "view_others_reports": false,
    "member_board": false,
    "manage_member_archives": false,
    "manage_member_futures": false,
    "manage_member_status": false,
    "view_member_archives": false,
    "view_member_futures": false,
    "view_member_reports": false,
    "view_user_board_updated_at": false,
    "created_at": 1761420588,
    "updated_at": 1761420588
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1761161388,
      "beacons": 1755372588,
      "desktop_presences": 1753298988,
      "favorites": 1755545388,
      "fences": 1754508588,
      "groups": 1760038188,
      "networks": 1753298988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null,
    "update_available": false
  }
}

Update a role

Updates an existing role. Users must have a role that permits managing the company to update roles.

Punto de llegada

PATCH /api/v4/roles/:id

Parametros

Name Description
role[name] requerido (string) the name of the role, no longer than 255 characters, must be unique for the company
role[billing] (boolean) these users can change the company's plan, credit card, and invoice email/information.
role[followed_users] (boolean) these users can receive notifications on their devices when another user updates their status.
role[reminders] (boolean) these users can manage notifications sent to other users reminding them to update their status.
role[safeties] (boolean) these users can receive notifications when another user hasn't updated their status.
role[user_board] (boolean) these users can see all other users and their current status.
role[manage_all_announcements] (boolean) these users can manage all announcements.
role[manage_groups_and_memberships] (boolean) these users can manage groups and which users are assigned to each group.
role[manage_others_archives] (boolean) these users can change the past statuses of all others by adding and deleting status updates.
role[manage_others_futures] (boolean) these users can schedule future status updates for all other users.
role[manage_others_status] (boolean) these users can change the current status of all users.
role[manage_own_archives] (boolean) these users can change their own past statuses by adding and deleting status updates.
role[manage_own_futures] (boolean) these users can schedule future status updates for themselves.
role[manage_own_status] (boolean) these users can update their own status from any device or the website. If a user is not allowed to update their own status, they can only update their status from a common device running FrontDesk or TimeClock.
role[view_all_announcements] (boolean) these users can view all announcements.
role[view_others_archives] (boolean) these users can view the past status updates made by all other users.
role[view_others_futures] (boolean) these users can view the scheduled status updates for all users.
role[view_others_reports] (boolean) these users can run reports on the status history of all other users.
role[view_user_board_updated_at] (boolean) these users can view the time that status updates were made on the board.
role[member_board] (boolean) these users can see other users within the same groups and their current status.
role[manage_member_announcements] (boolean) these users can manage announcements within the same groups.
role[manage_member_archives] (boolean) these users can change the past statuses of users within the same groups by adding and deleting status updates.
role[manage_member_futures] (boolean) these users can schedule future status updates for users within the same groups.
role[manage_member_status] (boolean) these users can change the current status of users within the same groups.
role[view_member_announcements] (boolean) these users can view announcements for everyone and the groups they belong to.
role[view_member_archives] (boolean) these users can view the past status updates made by users within the same groups.
role[view_member_futures] (boolean) these users can view the scheduled status updates for users within the same groups.
role[view_member_reports] (boolean) these users can run reports on the status history of users within the same groups.

Solicitud

Ruta

PATCH /api/v4/roles/990839

Encabezados

Content-Type: application/json
Authorization: Bearer 47Xr0EhbDItkZf1VuBesx_LTS6SACSqB-f1zWuHy7mE

Cuerpo

{
  "role": {
    "name": "My Renamed Role",
    "billing": false,
    "view_others_archives": true,
    "view_others_futures": true
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/roles/990839" -d '{"role":{"name":"My Renamed Role","billing":false,"view_others_archives":true,"view_others_futures":true}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer 47Xr0EhbDItkZf1VuBesx_LTS6SACSqB-f1zWuHy7mE"

Respuesta

Simulated Response

Campos de respuesta

Name Description
roles (object) the newly updated role attributes

Estado

200

Encabezados

ETag: W/"bd25ee05fa7504ac69b674a5ba86276e"

Cuerpo

{
  "roles": {
    "id": "990839",
    "name": "My Renamed Role",
    "billing": false,
    "followed_users": false,
    "reminders": false,
    "safeties": false,
    "user_board": false,
    "manage_all_announcements": false,
    "manage_company_and_users": false,
    "manage_groups_and_memberships": false,
    "manage_member_announcements": false,
    "manage_others_archives": false,
    "manage_others_futures": false,
    "manage_others_status": false,
    "manage_own_archives": false,
    "manage_own_futures": false,
    "manage_own_status": false,
    "view_all_announcements": true,
    "view_member_announcements": false,
    "view_others_archives": true,
    "view_others_futures": true,
    "view_others_reports": false,
    "member_board": false,
    "manage_member_archives": false,
    "manage_member_futures": false,
    "manage_member_status": false,
    "view_member_archives": false,
    "view_member_futures": false,
    "view_member_reports": false,
    "view_user_board_updated_at": false,
    "created_at": 1761420588,
    "updated_at": 1761420588
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1756409388,
      "beacons": 1753990188,
      "desktop_presences": 1758310188,
      "favorites": 1759692588,
      "fences": 1759260588,
      "groups": 1755977388,
      "networks": 1753298988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Statuses

List statuses

List all the statuses within the time period specified by the ‘created_at’ date range. Users must have a role that permits viewing the status history of others or only the authorized user’s statuses will be returned.

Punto de llegada

GET /api/v4/statuses

Parametros

Name Description
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results
created_at requerido (string) a date range string for the time the status was created
status (string) the status: 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
comment (string) the comment, case sensitive, included with the status change
automatic (boolean) only find automatic statuses
user_id (string) the ID of a particular user
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'created_at', 'status', 'comment', 'automatic'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'user.favorites', 'user.latest', 'user.memberships', 'user.memberships.group', 'user.phones', 'user.recents', 'changed_by_user', 'application'

Solicitud

Ruta

GET /api/v4/statuses?created_at=1760763600..1761022799

Encabezados

Content-Type: application/json
Authorization: Bearer vtNmKOg8jK_1htjdToizLhYmDyC1FQsDX3clocGOG8U

Parámetros de la consulta

created_at=1760763600..1761022799

cURL

curl -g "https://www.simpleinout.com/api/v4/statuses?created_at=1760763600..1761022799" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer vtNmKOg8jK_1htjdToizLhYmDyC1FQsDX3clocGOG8U"

Respuesta

Simulated Response

Campos de respuesta

Name Description
statuses (array) an array of matching statuses

Estado

200

Encabezados

ETag: W/"ae0b69d879593885f77e64807e9c26c3"
Last-Modified: Sun, 19 Oct 2025 14:00:00 GMT

Cuerpo

{
  "statuses": [
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760770800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": true,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760785200
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760788800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760806800
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": true,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760857200
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": true,
      "user_id": "440758",
      "changed_by_user_id": null,
      "created_at": 1760878800
    },
    {
      "status": "out",
      "comment": "On Vacation",
      "automatic": false,
      "user_id": "440758",
      "changed_by_user_id": "440759",
      "created_at": 1760882400
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 7,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/statuses?created_at=1760763600..1761022799",
      "last_href": "http://example.org/api/v4/statuses?created_at=1760763600..1761022799",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1760815789,
      "beacons": 1756754989,
      "desktop_presences": 1753644589,
      "favorites": 1760470189,
      "fences": 1754335789,
      "groups": 1754508589,
      "networks": 1756754989,
      "roles": 1761420589,
      "settings": 1761420589
    },
    "emergency": null
  }
}

Users

Archive a user

Archives an existing user. Users must have a role that permits managing users.

Punto de llegada

POST /api/v4/users/:id/archive

Solicitud

Ruta

POST /api/v4/users/440625/archive

Encabezados

Content-Type: application/json
Authorization: Bearer rwoX8kXIJ3HqdKFqwLDmPZvRqzTaA3mAFINh8MDqxQA

cURL

curl "https://www.simpleinout.com/api/v4/users/440625/archive" -d '' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer rwoX8kXIJ3HqdKFqwLDmPZvRqzTaA3mAFINh8MDqxQA"

Respuesta

Simulated Response

Estado

204

Create a future status update for a user

Add a scheduled status for a specific user. Users must have a role that permits managing their own scheduled statuses if updating themselves or be permitted to manage the scheduled statuses of others if updating another user. The company must also have scheduled statuses enabled.

Punto de llegada

POST /api/v4/users/:id/futures

Parametros

Name Description
future[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
future[apply_at] requerido (integer) epoch time to apply status change, must be in the future, have minutes within (00, 15, 30, 45), and seconds of 0
future[comment] (string) up to 50 character description of the status update
future[end_at] (integer) epoch time to end the scheduled status, must be after apply_at, have minutes within (00, 15, 30, 45), and seconds of 0
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'changed_by_user'

Solicitud

Ruta

POST /api/v4/users/440715/futures

Encabezados

Content-Type: application/json
Authorization: Bearer vxPKlHTKLjH4qPziKthKZDZU0-SgxzDf0sK1R2nyEjo

Cuerpo

{
  "future": {
    "status": "out",
    "apply_at": 1766692800,
    "comment": "On Vacation",
    "end_at": 1766952000
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/440715/futures" -d '{"future":{"status":"out","apply_at":1766692800,"comment":"On Vacation","end_at":1766952000}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer vxPKlHTKLjH4qPziKthKZDZU0-SgxzDf0sK1R2nyEjo"

Respuesta

Simulated Response

Campos de respuesta

Name Description
futures (object) the newly created future object

Estado

201

Encabezados

ETag: W/"42df9f9fec7e3959e39d87534c90c5d3"

Cuerpo

{
  "futures": {
    "id": "12356",
    "status": "out",
    "comment": "On Vacation",
    "completed": false,
    "apply_at": 1766692800,
    "end_at": 1766952000,
    "user_id": "440715",
    "changed_by_user_id": "440714"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1757878188,
      "beacons": 1755199788,
      "desktop_presences": 1757100588,
      "favorites": 1759433388,
      "fences": 1758742188,
      "groups": 1755890988,
      "networks": 1758310188,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Create a future status update for the current user

Add a scheduled status for the current user. Users must have a role that permits managing their own scheduled statuses and the company must have scheduled statuses enabled.

Punto de llegada

POST /api/v4/users/my/futures

Parametros

Name Description
future[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
future[apply_at] requerido (integer) epoch time to apply status change, must be in the future and have minutes within (00, 15, 30, 45), and seconds of 0
future[comment] (string) up to 50 character description of the status update
future[end_at] (integer) epoch time to end the scheduled status, must be after apply_at, have minutes within (00, 15, 30, 45), and seconds of 0
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'changed_by_user'

Solicitud

Ruta

POST /api/v4/users/my/futures

Encabezados

Content-Type: application/json
Authorization: Bearer PNKqmrglF0NzSHQ8fpjbZuB9yMopuzudHXvOVcby2sQ

Cuerpo

{
  "future": {
    "status": "out",
    "apply_at": 1766692800,
    "comment": "On Vacation",
    "end_at": 1766952000
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/futures" -d '{"future":{"status":"out","apply_at":1766692800,"comment":"On Vacation","end_at":1766952000}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer PNKqmrglF0NzSHQ8fpjbZuB9yMopuzudHXvOVcby2sQ"

Respuesta

Simulated Response

Campos de respuesta

Name Description
futures (object) the newly created future object

Estado

201

Encabezados

ETag: W/"24966318264ffff34f0cc4dd621265dd"

Cuerpo

{
  "futures": {
    "id": "12359",
    "status": "out",
    "comment": "On Vacation",
    "completed": false,
    "apply_at": 1766692800,
    "end_at": 1766952000,
    "user_id": "440728",
    "changed_by_user_id": null
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1755199788,
      "beacons": 1759865388,
      "desktop_presences": 1755113388,
      "favorites": 1758655788,
      "fences": 1760038188,
      "groups": 1758482988,
      "networks": 1761161388,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Create a status update for a user

Changes a user’s status. Users must have a role that permits managing their own current status or their own past statuses if updating themselves. Users must be permitted to manage the current status of others or the past status of others if updating another user.

Punto de llegada

POST /api/v4/users/:id/statuses

Parametros

Name Description
status[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
status[comment] (string) up to 50 character description of the status update
status[created_at] (integer) epoch time to apply status change, defaults to the current time (if this parameter is passed the date must be in the past)
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'user.favorites', 'user.latest', 'user.memberships', 'user.phones', 'user.recents', 'changed_by_user', 'application'

Solicitud

Ruta

POST /api/v4/users/440717/statuses

Encabezados

Content-Type: application/json
Authorization: Bearer QIMsay6huCCkGh0XwQwqNeg1eRPdNw8zOipqih9Wxw4

Cuerpo

{
  "status": {
    "status": "in",
    "comment": "In at HQ"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/440717/statuses" -d '{"status":{"status":"in","comment":"In at HQ"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer QIMsay6huCCkGh0XwQwqNeg1eRPdNw8zOipqih9Wxw4"

Respuesta

Simulated Response

Campos de respuesta

Name Description
statuses (object) the newly created status object

Estado

201

Encabezados

ETag: W/"cb4990f7312111e6c2beebdd6d125528"

Cuerpo

{
  "statuses": {
    "status": "in",
    "comment": "In at HQ",
    "automatic": false,
    "user_id": "440717",
    "changed_by_user_id": "440716",
    "created_at": 1761420588
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1753903788,
      "beacons": 1757618988,
      "desktop_presences": 1759606188,
      "favorites": 1756150188,
      "fences": 1756582188,
      "groups": 1760038188,
      "networks": 1753298988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Create a status update for the current user

Changes the current user’s status. Users must have a role that permits managing their own current status or their own past statuses.

Punto de llegada

POST /api/v4/users/my/statuses

Parametros

Name Description
status[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
status[comment] (st`ring) up to 50 character description of the status update
status[created_at] (integer) epoch time to apply status change, defaults to the current time (if this parameter is passed the date must be in the past)
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'user.favorites', 'user.latest', 'user.memberships', 'user.phones', 'user.recents', 'changed_by_user', 'application'

Solicitud

Ruta

POST /api/v4/users/my/statuses

Encabezados

Content-Type: application/json
Authorization: Bearer bDF0xPpFV_nHfBipovg1Bx_khRzxfG7Qr4D7HQ8afUc

Cuerpo

{
  "status": {
    "status": "in",
    "comment": "In at HQ"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/statuses" -d '{"status":{"status":"in","comment":"In at HQ"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer bDF0xPpFV_nHfBipovg1Bx_khRzxfG7Qr4D7HQ8afUc"

Respuesta

Simulated Response

Campos de respuesta

Name Description
statuses (object) the newly created status object

Estado

201

Encabezados

ETag: W/"ff67dd308f3294be2a59a17c0fef74d4"

Cuerpo

{
  "statuses": {
    "status": "in",
    "comment": "In at HQ",
    "automatic": false,
    "user_id": "440719",
    "changed_by_user_id": null,
    "created_at": 1761420588
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1755977388,
      "beacons": 1760642988,
      "desktop_presences": 1758396588,
      "favorites": 1753817388,
      "fences": 1761161388,
      "groups": 1758223788,
      "networks": 1754681388,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Create a user

Creates a new user. When this is completed, the user will be sent a welcome email from Simple In/Out with a link to choose their own password. Users must have a role that permits managing the company/users to create users. Companies are limited to the number of users their plan supports, and attempting to add more users will result in a greater_than error on the base parameter.

Punto de llegada

POST /api/v4/users

Parametros

Name Description
user[email] requerido (string) new user's email address
user[name] requerido (string) new user's full name
user[details] (string) additional text information about the user
user[lang] (string) preferred locale of the user defaulting to the locale of the authorized user, can be en, en-au, en-ca, en-gb, de, es, fr, fr-ca
user[phones_attributes] (array) phone objects to attach to the user, each with a 'number' attribute
user[memberships_attributes] (array) membership objects to place the user in the group, each with a 'group_id' attribute
user[role_id] requerido (string) the ID of the role to assign to the user
user[skip_confirmation_email] (boolean) whether to send a welcome email for the new user to choose their password, defaults to false which makes certain the email is sent
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

POST /api/v4/users

Encabezados

Content-Type: application/json
Authorization: Bearer KpiUksPtVetw9pG8_wp63W6EtEttC41ntGPz8ZsCRxo

Cuerpo

{
  "user": {
    "email": "bojack@simplymadeapps.com",
    "name": "Bojack Horseman",
    "details": "Lead Actor",
    "lang": "en",
    "phones_attributes": [
      {
        "number": "265-283-6308 x37556"
      }
    ],
    "memberships_attributes": [
      {
        "group_id": 23245
      }
    ],
    "role_id": "990740"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users" -d '{"user":{"email":"bojack@simplymadeapps.com","name":"Bojack Horseman","details":"Lead Actor","lang":"en","phones_attributes":[{"number":"265-283-6308 x37556"}],"memberships_attributes":[{"group_id":23245}],"role_id":"990740"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer KpiUksPtVetw9pG8_wp63W6EtEttC41ntGPz8ZsCRxo"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) the newly created user object

Estado

201

Encabezados

ETag: W/"45274f65e9907b0be2b77ec148a16903"

Cuerpo

{
  "users": {
    "id": "440709",
    "name": "Bojack Horseman",
    "email": "bojack@simplymadeapps.com",
    "details": "Lead Actor",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990740",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.115699000"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1758137388,
      "beacons": 1758482988,
      "desktop_presences": 1757014188,
      "favorites": 1758050988,
      "fences": 1759951788,
      "groups": 1761420588,
      "networks": 1755458988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Create/Update user favorites

Creates user favorites (Quick Picks). If user favorites exist, they will be overwritten by the new ones. Users are limited to 10 favorites.

Punto de llegada

POST /api/v4/users/my/favorites

Parametros

Name Description
favorites requerido (array) array of objects consisting of 'status' and 'comment'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'

Solicitud

Ruta

POST /api/v4/users/my/favorites

Encabezados

Content-Type: application/json
Authorization: Bearer QwcqzcJd0nvhnEpZp_rfmkGzEM6RXGrt4qaGXbSO9aE

Cuerpo

{
  "favorites": [
    {
      "status": "in",
      "comment": "At Work"
    },
    {
      "status": "out",
      "comment": "On Vacation"
    }
  ],
  "expand": "favorites"
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/favorites" -d '{"favorites":[{"status":"in","comment":"At Work"},{"status":"out","comment":"On Vacation"}],"expand":"favorites"}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer QwcqzcJd0nvhnEpZp_rfmkGzEM6RXGrt4qaGXbSO9aE"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) the newly updated user attributes

Estado

200

Encabezados

ETag: W/"362cf637190fe70719f1db4bd94c2559"

Cuerpo

{
  "users": {
    "id": "440707",
    "name": "Sterling Archer",
    "email": "sterling@simplymadeapps.com",
    "details": "Nulla ab itaque.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "favorites": [
      {
        "status": "in",
        "comment": "At Work"
      },
      {
        "status": "out",
        "comment": "On Vacation"
      }
    ],
    "role_id": "990738",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.075221000"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1759433388,
      "beacons": 1758050988,
      "desktop_presences": 1755545388,
      "favorites": 1753039788,
      "fences": 1758569388,
      "groups": 1760988588,
      "networks": 1752866988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Delete a user

Deletes an existing user. Users must have a role that permits managing the company/users to delete users. Companies must have at least one user with the Administrator role, if you attempt to delete the last user with the Administrator role, this will result in a less_than error on the base parameter.

Punto de llegada

DELETE /api/v4/users/:id

Solicitud

Ruta

DELETE /api/v4/users/440697

Encabezados

Content-Type: application/json
Authorization: Bearer nOr5MOeq7DMlP6KwN9mBhol2fgz93aTAAFEWMqW-les

cURL

curl "https://www.simpleinout.com/api/v4/users/440697" -d '' -X DELETE \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer nOr5MOeq7DMlP6KwN9mBhol2fgz93aTAAFEWMqW-les"

Respuesta

Simulated Response

Estado

204

Favorite a status for the current user

Designates a previous status update as a favorite for the current user’s Quick Picks.

Punto de llegada

PATCH /api/v4/users/my/statuses/favorite

Parametros

Name Description
status[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
status[comment] (string) up to 50 character description of the status update

Solicitud

Ruta

PATCH /api/v4/users/my/statuses/favorite

Encabezados

Content-Type: application/json
Authorization: Bearer Dxw2A69fefiLKJhx3zJ5kyzCqeA0XZIgZHupmX9I1F8

Cuerpo

{
  "status": {
    "status": "in",
    "comment": "At Lunch"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/statuses/favorite" -d '{"status":{"status":"in","comment":"At Lunch"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer Dxw2A69fefiLKJhx3zJ5kyzCqeA0XZIgZHupmX9I1F8"

Respuesta

Simulated Response

Estado

204

Hide a status for the current user

Hides a previous status update from the current user’s Quick Picks.

Punto de llegada

PATCH /api/v4/users/my/statuses/hide

Parametros

Name Description
status[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
status[comment] (string) up to 50 character description of the status update

Solicitud

Ruta

PATCH /api/v4/users/my/statuses/hide

Encabezados

Content-Type: application/json
Authorization: Bearer JBHnOLW2B6Yooh5JZkj8V9RHwfKgDMK5_QzJU21h8j4

Cuerpo

{
  "status": {
    "status": "in",
    "comment": "At Lunch"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/statuses/hide" -d '{"status":{"status":"in","comment":"At Lunch"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer JBHnOLW2B6Yooh5JZkj8V9RHwfKgDMK5_QzJU21h8j4"

Respuesta

Simulated Response

Estado

204

List all archived users

Return a list of all the archived users belonging to the company. Users must have a role that permits managing users.

Punto de llegada

GET /api/v4/users?archived=true

Solicitud

Ruta

GET /api/v4/users?archived=true

Encabezados

Content-Type: application/json
Authorization: Bearer Ao2G6iJlFfJHqJ5SMhRb3_UHZNUhODBptKgHAodBKVo

Parámetros de la consulta

archived=true

cURL

curl -g "https://www.simpleinout.com/api/v4/users?archived=true" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer Ao2G6iJlFfJHqJ5SMhRb3_UHZNUhODBptKgHAodBKVo"

Respuesta

Simulated Response

Estado

200

Encabezados

ETag: W/"0ebe5d89f038dab154825b654e270be5"
Last-Modified: Sat, 25 Oct 2025 19:29:45 GMT

Cuerpo

{
  "users": [
    {
      "id": "440627",
      "name": "Ismael Kozey V",
      "email": null,
      "details": "Rerum repellendus asperiores.",
      "lang": "en",
      "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
      "role_id": null,
      "announcements_read_at": 0,
      "created_at": 1761420585,
      "updated_at": 1761420585,
      "cached_at": "1761420585.380003000"
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 1,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users?archived=true",
      "last_href": "http://example.org/api/v4/users?archived=true",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1752866985,
      "beacons": 1757359785,
      "desktop_presences": 1755458985,
      "favorites": 1759174185,
      "fences": 1754508585,
      "groups": 1760902185,
      "networks": 1754508585,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null,
    "trusted_cached_at": "1761420570.389845000"
  }
}

List all future statuses for a user

List all the scheduled statuses for the specified user. Please note that the user making this request must have a role with permission to view the scheduled statuses of others and the company must have scheduled statuses enabled.

Punto de llegada

GET /api/v4/users/:id/futures

Parametros

Name Description
comment (string) the comment, case sensitive, included with the status change
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'apply_at', 'status', 'comment'
apply_at (string) a date range string for the time the status will be added
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'changed_by_user'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/users/440698/futures

Encabezados

Content-Type: application/json
Authorization: Bearer CIvi219zi4wG83BH9QGGdJcnQfzPrh-WUAUuGxYC71Y

cURL

curl -g "https://www.simpleinout.com/api/v4/users/440698/futures" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer CIvi219zi4wG83BH9QGGdJcnQfzPrh-WUAUuGxYC71Y"

Respuesta

Simulated Response

Campos de respuesta

Name Description
futures (array) an array of matching scheduled statuses

Estado

200

Encabezados

ETag: W/"ee6bac78a999d940b0e71a4910f1f533"
Last-Modified: Sat, 25 Oct 2025 19:29:47 GMT

Cuerpo

{
  "futures": [
    {
      "id": "12354",
      "status": "out",
      "comment": "Offsite Meeting",
      "completed": false,
      "apply_at": 1761980400,
      "end_at": null,
      "user_id": "440698",
      "changed_by_user_id": null
    },
    {
      "id": "12355",
      "status": "out",
      "comment": "Gone Fishing",
      "completed": false,
      "apply_at": 1767441600,
      "end_at": 1767614400,
      "user_id": "440698",
      "changed_by_user_id": "440699"
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users/440698/futures?user_id=440698",
      "last_href": "http://example.org/api/v4/users/440698/futures?user_id=440698",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1754335787,
      "beacons": 1760210987,
      "desktop_presences": 1759001387,
      "favorites": 1754681387,
      "fences": 1753558187,
      "groups": 1759433387,
      "networks": 1760038187,
      "roles": 1761420587,
      "settings": 1761420587
    },
    "emergency": null
  }
}

List all future statuses for the current user

List all the scheduled statuses for the current user. Please note that the company must have scheduled statuses enabled for users to see their scheduled statuses.

Punto de llegada

GET /api/v4/users/my/futures

Parametros

Name Description
comment (string) the comment, case sensitive, included with the status change
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'apply_at', 'status', 'comment'
apply_at (string) a date range string for the time the status will be added
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'changed_by_user'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/users/my/futures

Encabezados

Content-Type: application/json
Authorization: Bearer k2jtL8WEpW8y10UQzQTBQW0ymUhs0qUoENW2rqEprr8

cURL

curl -g "https://www.simpleinout.com/api/v4/users/my/futures" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer k2jtL8WEpW8y10UQzQTBQW0ymUhs0qUoENW2rqEprr8"

Respuesta

Simulated Response

Campos de respuesta

Name Description
futures (array) an array of matching scheduled statuses

Estado

200

Encabezados

ETag: W/"a0e23bd12e0dbcf2aa96dd9bddeece27"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "futures": [
    {
      "id": "12357",
      "status": "out",
      "comment": "Offsite Meeting",
      "completed": false,
      "apply_at": 1761980400,
      "end_at": null,
      "user_id": "440725",
      "changed_by_user_id": null
    },
    {
      "id": "12358",
      "status": "out",
      "comment": "Gone Fishing",
      "completed": false,
      "apply_at": 1767441600,
      "end_at": 1767614400,
      "user_id": "440725",
      "changed_by_user_id": "440726"
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 2,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users/my/futures?user_id=440725",
      "last_href": "http://example.org/api/v4/users/my/futures?user_id=440725",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1757186988,
      "beacons": 1761420588,
      "desktop_presences": 1752866988,
      "favorites": 1754422188,
      "fences": 1754681388,
      "groups": 1758914988,
      "networks": 1756927788,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

List all statuses for a user

List all the statuses for the specified user within the time period specified by the ‘created_at’ date range. Users must have a role that permits viewing the past statuses of others if viewing another user. They can always view their own past statuses.

Punto de llegada

GET /api/v4/users/:id/statuses

Parametros

Name Description
created_at requerido (string) a date range string for the time the status was created
comment (string) the comment, case sensitive, included with the status change
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'created_at', 'status', 'comment'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'user.favorites', 'user.latest', 'user.memberships', 'user.phones', 'user.recents', 'changed_by_user', 'application'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/users/440736/statuses?created_at=1760763600..1761022799

Encabezados

Content-Type: application/json
Authorization: Bearer TvE9e7kcHaRzj-zzyowMS0yZi45IMjs1N2k-3VX8ZZQ

Parámetros de la consulta

created_at=1760763600..1761022799

cURL

curl -g "https://www.simpleinout.com/api/v4/users/440736/statuses?created_at=1760763600..1761022799" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer TvE9e7kcHaRzj-zzyowMS0yZi45IMjs1N2k-3VX8ZZQ"

Respuesta

Simulated Response

Campos de respuesta

Name Description
statuses (array) an array of matching statuses

Estado

200

Encabezados

ETag: W/"2efa79086971e4c5aaf35cf188a4a3be"
Last-Modified: Sun, 19 Oct 2025 14:00:00 GMT

Cuerpo

{
  "statuses": [
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760770800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760785200
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760788800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760806800
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760857200
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": null,
      "created_at": 1760878800
    },
    {
      "status": "out",
      "comment": "Vacation",
      "automatic": false,
      "user_id": "440736",
      "changed_by_user_id": "440737",
      "created_at": 1760882400
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 7,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users/440736/statuses?created_at=1760763600..1761022799&user_id=440736",
      "last_href": "http://example.org/api/v4/users/440736/statuses?created_at=1760763600..1761022799&user_id=440736",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1753817388,
      "beacons": 1753212588,
      "desktop_presences": 1758223788,
      "favorites": 1756236588,
      "fences": 1755026988,
      "groups": 1757618988,
      "networks": 1755113388,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

List all statuses for the current user

List all the statuses for the current user within the time period specified by the ‘created_at’ date range.

Punto de llegada

GET /api/v4/users/my/statuses

Parametros

Name Description
created_at requerido (string) a date range string for the time the status was created
comment (string) the comment, case sensitive, included with the status change
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'created_at', 'status', 'comment'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'user', 'user.favorites', 'user.latest', 'user.memberships', 'user.phones', 'user.recents', 'changed_by_user', 'application'
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results

Solicitud

Ruta

GET /api/v4/users/my/statuses?created_at=1760763600..1761022799

Encabezados

Content-Type: application/json
Authorization: Bearer x9I7J4WrEf5BULFt5IF2Vvrx1T9BL3Hs88_bEFIyMPM

Parámetros de la consulta

created_at=1760763600..1761022799

cURL

curl -g "https://www.simpleinout.com/api/v4/users/my/statuses?created_at=1760763600..1761022799" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer x9I7J4WrEf5BULFt5IF2Vvrx1T9BL3Hs88_bEFIyMPM"

Respuesta

Simulated Response

Campos de respuesta

Name Description
statuses (array) an array of matching statuses

Estado

200

Encabezados

ETag: W/"b3d53e6dca787428e40ff81d5ea99571"
Last-Modified: Sun, 19 Oct 2025 14:00:00 GMT

Cuerpo

{
  "statuses": [
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760770800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760785200
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760788800
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760806800
    },
    {
      "status": "in",
      "comment": "At Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760857200
    },
    {
      "status": "out",
      "comment": "Left Work",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": null,
      "created_at": 1760878800
    },
    {
      "status": "out",
      "comment": "Vacation",
      "automatic": false,
      "user_id": "440732",
      "changed_by_user_id": "440733",
      "created_at": 1760882400
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 7,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users/my/statuses?created_at=1760763600..1761022799&user_id=440732",
      "last_href": "http://example.org/api/v4/users/my/statuses?created_at=1760763600..1761022799&user_id=440732",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1759087788,
      "beacons": 1755545388,
      "desktop_presences": 1756236588,
      "favorites": 1760988588,
      "fences": 1754854188,
      "groups": 1757359788,
      "networks": 1760210988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

List all users

Return a list of all the users belonging to the company. Users must have a role that permits viewing users.

Punto de llegada

GET /api/v4/users

Parametros

Name Description
page_size (integer) number of results to return per page, defaults to 25
page (integer) page number of results
name (string) return users with this name
email (string) return users with this email
id (array) return users by an array of ids
created_at (string) a date range string for the time this user was created
group_id (string/array) return users belonging to a group id, which can be a string or array in the form of group_id[]=INT
cached_at (integer/float) return users updated that have made a significant change since an epoch time, accurate to nanoseconds
sort (string) order of the return with optional '-' to denote descending, possibilities include: 'name', 'email', 'cached_at', 'created_at', 'status.status', 'status.created_at'
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

GET /api/v4/users

Encabezados

Content-Type: application/json
Authorization: Bearer honsbvXVSVVsZ76Tnh2R_IBnUW_i6K3u_XboXWLzBfo

cURL

curl -g "https://www.simpleinout.com/api/v4/users" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer honsbvXVSVVsZ76Tnh2R_IBnUW_i6K3u_XboXWLzBfo"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (array) an array of users
trusted_cached_at (string in the meta object) the server time minus an amount to account for network delivery time

Estado

200

Encabezados

ETag: W/"6fa7577f727377693d1e8cb21762fd9e"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "users": [
    {
      "id": "440738",
      "name": "Malory Archer",
      "email": "malory@simplymadeapps.com",
      "details": "Sit reiciendis et.",
      "lang": "en",
      "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
      "role_id": "990804",
      "announcements_read_at": 0,
      "created_at": 1761420588,
      "updated_at": 1761420588,
      "cached_at": "1761420588.728782200"
    },
    {
      "id": "440739",
      "name": "Sterling Archer",
      "email": "sterling@simplymadeapps.com",
      "details": "Rem a et.",
      "lang": "en",
      "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
      "role_id": "990806",
      "announcements_read_at": 0,
      "created_at": 1761420588,
      "updated_at": 1761420588,
      "cached_at": "1761420588.733644000"
    },
    {
      "id": "440740",
      "name": "Lana Kane",
      "email": "lana@simplymadeapps.com",
      "details": "Ut qui quia.",
      "lang": "en",
      "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
      "role_id": "990806",
      "announcements_read_at": 0,
      "created_at": 1761420588,
      "updated_at": 1761420588,
      "cached_at": "1761420588.739674000"
    },
    {
      "id": "440741",
      "name": "Ray Gillette",
      "email": "ray@simplymadeapps.com",
      "details": "Aut sed perspiciatis.",
      "lang": "en",
      "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
      "role_id": "990806",
      "announcements_read_at": 0,
      "created_at": 1761420588,
      "updated_at": 1761420588,
      "cached_at": "1761420588.744549000"
    }
  ],
  "meta": {
    "paging": {
      "page": 1,
      "page_size": 25,
      "page_count": 1,
      "count": 4,
      "previous_page": null,
      "next_page": null,
      "first_href": "http://example.org/api/v4/users",
      "last_href": "http://example.org/api/v4/users",
      "previous_href": null,
      "next_href": null
    },
    "last_updated_at": {
      "announcements": 1757618988,
      "beacons": 1753817388,
      "desktop_presences": 1754940588,
      "favorites": 1755545388,
      "fences": 1754508588,
      "groups": 1756927788,
      "networks": 1759692588,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null,
    "trusted_cached_at": "1761420573.750941000"
  }
}

Mark announcements as read

Marks announcements beforehand as read. If an epoch time from the future is passed in, it will become the current time.

Punto de llegada

POST /api/v4/users/my/announcements/read

Parametros

Name Description
read_at requerido (integer) epoch time denoting all announcements before this time have been read

Solicitud

Ruta

POST /api/v4/users/my/announcements/read

Encabezados

Content-Type: application/json
Authorization: Bearer QsISPBHJOjBDhRZfK7sSRE_vEr05jp4P857e6-jZeLo

cURL

curl "https://www.simpleinout.com/api/v4/users/my/announcements/read" -d '' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer QsISPBHJOjBDhRZfK7sSRE_vEr05jp4P857e6-jZeLo"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) the newly updated user attributes

Estado

204

Retrieve a user

Retrieve an existing user. Users must have a role that permits viewing users.

Punto de llegada

GET /api/v4/users/:id

Parametros

Name Description
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

GET /api/v4/users/440743

Encabezados

Content-Type: application/json
Authorization: Bearer WDWfgOgm7aqY9kjph8I2jiRPFsyT7cSPr4FwJUUcs24

cURL

curl -g "https://www.simpleinout.com/api/v4/users/440743" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer WDWfgOgm7aqY9kjph8I2jiRPFsyT7cSPr4FwJUUcs24"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) a user object

Estado

200

Encabezados

ETag: W/"cd02f689dc7eb93464cd2dd8883ab7dc"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "users": {
    "id": "440743",
    "name": "Sterling Archer",
    "email": "sterling@simplymadeapps.com",
    "details": "Est ex amet.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990810",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.777716000"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1754249388,
      "beacons": 1753990188,
      "desktop_presences": 1760988588,
      "favorites": 1756841388,
      "fences": 1759087788,
      "groups": 1760988588,
      "networks": 1759951788,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Retrieve the current user

Retrieve the current user who is authorized.

Punto de llegada

GET /api/v4/users/my

Parametros

Name Description
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

GET /api/v4/users/my

Encabezados

Content-Type: application/json
Authorization: Bearer 9aLd9ZqbXWICYXFFxK4NAAY23S9Ztal4o2Q0CRmG5GY

cURL

curl -g "https://www.simpleinout.com/api/v4/users/my" -X GET \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer 9aLd9ZqbXWICYXFFxK4NAAY23S9Ztal4o2Q0CRmG5GY"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) a user object

Estado

200

Encabezados

ETag: W/"ded83ed40469b8cc78e4262e9cc7bef5"
Last-Modified: Sat, 25 Oct 2025 19:29:48 GMT

Cuerpo

{
  "users": {
    "id": "440723",
    "name": "Sterling Archer",
    "email": "sterling@simplymadeapps.com",
    "details": "Aut aut labore.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990774",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.385176200"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1759778988,
      "beacons": 1754422188,
      "desktop_presences": 1757014188,
      "favorites": 1753558188,
      "fences": 1755718188,
      "groups": 1753990188,
      "networks": 1755458988,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Unarchive a user

Unarchives an archived user. Users must have a role that permits managing users.

Punto de llegada

POST /api/v4/users/:id/unarchive

Parametros

Name Description
user[email] requerido (string) the user's email address
user[name] (string) the user's full name
user[details] (string) additional text information about the user
user[lang] (string) preferred locale of the user defaulting to the locale of the authorized user, can be en, en-au, en-ca, en-gb, de, es, fr, fr-ca
user[phones_attributes] (array) phone objects to attach to the user, each with a 'number' attribute
user[memberships_attributes] (array) membership objects to place the user in the group, each with a 'group_id' attribute
user[role_id] requerido (string) the ID of the role to assign to the user
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

POST /api/v4/users/440623/unarchive

Encabezados

Content-Type: application/json
Authorization: Bearer Wa2wrxqd8mtUKp3MV6nB1uIHTyn7JaQu-lk6X4Roq-E

Cuerpo

{
  "user": {
    "email": "bojack@simplymadeapps.com",
    "role_id": "990528"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/440623/unarchive" -d '{"user":{"email":"bojack@simplymadeapps.com","role_id":"990528"}}' -X POST \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer Wa2wrxqd8mtUKp3MV6nB1uIHTyn7JaQu-lk6X4Roq-E"

Respuesta

Simulated Response

Estado

200

Encabezados

ETag: W/"5e04860b17b7a4efe059949d33c8ae77"

Cuerpo

{
  "users": {
    "id": "440623",
    "name": "Loura Trantow",
    "email": "bojack@simplymadeapps.com",
    "details": "Quae accusamus inventore.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990528",
    "created_at": 1761420585,
    "updated_at": 1761420585,
    "cached_at": "1761420585.235345800"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1755718185,
      "beacons": 1757273385,
      "desktop_presences": 1754162985,
      "favorites": 1756668585,
      "fences": 1756322985,
      "groups": 1755977385,
      "networks": 1756150185,
      "roles": 1761420585,
      "settings": 1761420585
    },
    "emergency": null
  }
}

Unfavorite a status for the current user

Undoes a previous status’ favorite designation for the current user’s Quick Picks.

Punto de llegada

PATCH /api/v4/users/my/statuses/unfavorite

Parametros

Name Description
status[status] requerido (string) must be 'in', 'remote', 'busy', 'break', 'out', 'sick', or 'vacation'
status[comment] (string) up to 50 character description of the status update

Solicitud

Ruta

PATCH /api/v4/users/my/statuses/unfavorite

Encabezados

Content-Type: application/json
Authorization: Bearer qJtY91TTAelpdgeEHHZ7tAmuUu7d_8OfwTxp83Cm2Zs

Cuerpo

{
  "status": {
    "status": "in",
    "comment": "At Lunch"
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my/statuses/unfavorite" -d '{"status":{"status":"in","comment":"At Lunch"}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer qJtY91TTAelpdgeEHHZ7tAmuUu7d_8OfwTxp83Cm2Zs"

Respuesta

Simulated Response

Estado

204

Update a user

Updates an existing user. Users must have a role that permits managing the company/users to update users. Companies must have at least one user with the Administrator role, if you attempt to change the role of the last user with the Administrator role, this will result in a less_than error on the base parameter.

Punto de llegada

PATCH /api/v4/users/:id

Parametros

Name Description
user[email] (string) new user's email address
user[name] (string) new user's full name
user[details] (string) additional text information about the user
user[lang] (string) preferred locale of the user, can be en, en-au, en-ca, en-gb, de, es, fr, fr-ca
user[phones_attributes] (array) phone objects to attach to the user if both 'id' and 'number' are passed in, the existing phone number will be updated if just 'number' is passed in, a new phone will be added if both 'id' and '_destroy' are passed in ('_destroy' being truthy like 'true' or '1'), the phone number will be removed
user[memberships_attributes] (array) group objects to attach to the user if both 'id' and 'group_id' are passed in, the existing membership will be updated if just 'group_id' is passed in, a new membership will be added if both 'id' and '_destroy' are passed in ('_destroy' being truthy like 'true' or '1'), the group membership will be removed
user[role_id] (string) the ID of the role to assign to the user
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

PATCH /api/v4/users/440705

Encabezados

Content-Type: application/json
Authorization: Bearer _0zzkZ7z-XJbOcsMGA1uGpkgUKcYkjFOeXh-obsMjUk

Cuerpo

{
  "user": {
    "phones_attributes": [
      {
        "number": "524-300-9438 x119"
      }
    ],
    "memberships_attributes": [
      {
        "group_id": 23244
      }
    ]
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/440705" -d '{"user":{"phones_attributes":[{"number":"524-300-9438 x119"}],"memberships_attributes":[{"group_id":23244}]}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer _0zzkZ7z-XJbOcsMGA1uGpkgUKcYkjFOeXh-obsMjUk"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) the newly updated user attributes

Estado

200

Encabezados

ETag: W/"93b33152106aa4728354625d0a31f825"

Cuerpo

{
  "users": {
    "id": "440705",
    "name": "Sterling Archer",
    "email": "sterling@simplymadeapps.com",
    "details": "Quae libero assumenda.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990734",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.039641100"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1754335788,
      "beacons": 1753817388,
      "desktop_presences": 1753990188,
      "favorites": 1759260588,
      "fences": 1753730988,
      "groups": 1761420588,
      "networks": 1759087788,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}

Update the current user

Updates the currently authorized user. The current user cannot update their own role.

Punto de llegada

PATCH /api/v4/users/my

Parametros

Name Description
user[email] (string) new user's email address
user[name] (string) new user's full name
user[details] (string) additional text information about the user
user[lang] (string) preferred locale of the user, can be en, en-au, en-ca, en-gb, de, es, fr, fr-ca
user[phones_attributes] (array) phone objects to attach to the user if both 'id' and 'number' are passed in, the existing phone number will be updated if just 'number' is passed in, a new phone will be added if both 'id' and '_destroy' are passed in ('_destroy' being truthy like 'true' or '1'), the phone number will be removed
user[memberships_attributes] (array) group objects to attach to the user if both 'id' and 'group_id' are passed in, the existing membership will be updated if just 'group_id' is passed in, a new membership will be added if both 'id' and '_destroy' are passed in ('_destroy' being truthy like 'true' or '1') the group membership will be removed
only (string) comma-delimited list of fields to render only, possibilities include: 'id', 'name', 'email', 'image_url', 'details', 'lang', 'created_at', 'updated_at', 'cached_at'
expand (string) comma-delimited list of extra information to include in the response, possibilities include: 'badge', 'favorites', 'latest', 'memberships', 'memberships.group', 'permissions', 'phones', 'status', 'status.application', 'status.changed_by_user', 'recents', 'role'

Solicitud

Ruta

PATCH /api/v4/users/my

Encabezados

Content-Type: application/json
Authorization: Bearer WXjShjdjF2K5JMPmsx5CSTuD9-YsXxiOaPgCCsj_Xw8

Cuerpo

{
  "user": {
    "phones_attributes": [
      {
        "number": "(681) 043-3393 x8266"
      }
    ],
    "memberships_attributes": [
      {
        "group_id": 23247
      }
    ]
  }
}

cURL

curl "https://www.simpleinout.com/api/v4/users/my" -d '{"user":{"phones_attributes":[{"number":"(681) 043-3393 x8266"}],"memberships_attributes":[{"group_id":23247}]}}' -X PATCH \
	-H "Version: HTTP/1.0" \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer WXjShjdjF2K5JMPmsx5CSTuD9-YsXxiOaPgCCsj_Xw8"

Respuesta

Simulated Response

Campos de respuesta

Name Description
users (object) the newly updated user attributes

Estado

200

Encabezados

ETag: W/"aa03cb13e9091e1eceee418fae46073e"

Cuerpo

{
  "users": {
    "id": "440718",
    "name": "Msgr. Jada Hudson",
    "email": "mallory@simplymadeapps.com",
    "details": "Laborum labore culpa.",
    "lang": "en",
    "image_url": "https://simpleinout.s3.amazonaws.com/image_none.png",
    "role_id": "990760",
    "announcements_read_at": 0,
    "created_at": 1761420588,
    "updated_at": 1761420588,
    "cached_at": "1761420588.294643900"
  },
  "meta": {
    "last_updated_at": {
      "announcements": 1754335788,
      "beacons": 1757618988,
      "desktop_presences": 1753817388,
      "favorites": 1759260588,
      "fences": 1757186988,
      "groups": 1761420588,
      "networks": 1756236588,
      "roles": 1761420588,
      "settings": 1761420588
    },
    "emergency": null
  }
}