v1.1.0
OAS 3.0.0

Pencil Spaces API

You can find API specs for the Pencil Spaces API below. If you have any questions, do not hesitate to contact us.

Note: To authenticate requests, provide your API key as a bearer token in any calls to our API. See this guide for more details.

Staging Server

Client Libraries

users

Get profiles for all institution users

Query profiles for all institution users

Query Parameters
  • pageNumber
    Type:integer
    min: 
    1
    default: 
    1

    (Optional) - The page number of the items to return. The number of items in a page is controlled by the pageSize parameter.

  • pageSize
    Type:integer
    min: 
    1
    max: 
    100
    default: 
    25

    (Optional) - The max number of items to return. Setting a larger pageSize will default to 100 spaces.

  • filters
    Type:string

    (Optional) - A base64 encoded string of the filters you wish to apply to the query. See usersFilterSchema for details on all the filters applicable to your query

Responses
  • application/json
  • application/json
Request Example forGET/users
curl https://staging-apis.pencilapp.com/public/api/users \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "results": [],
  "pageNumber": 1,
  "pageSize": 1,
  "totalPages": 1,
  "totalRecords": 1
}

sessions (Collapsed)

Get analytics for activity in your Spaces

Models