Skip to main content
POST
/
v1
/
org
/
employees
/
shape
Shape Employees
curl --request POST \
  --url https://api.twine.se/v1/org/employees/shape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "shape": {}
}'
{
  "data": [
    {}
  ],
  "pagination": {
    "end_cursor": "<string>",
    "has_next_page": true,
    "has_previous_page": true,
    "start_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Query Parameters

pagination
CursorPagination · object

Cursor pagination

filters
EmployeeFilter · object

Filter parameters for Employee Parameters for Employee filtering

order
EmployeeOrder · object

Parameters for Employee ordering

Body

application/json

ShapeRequest

A request to shape data

shape
object
required

Response

Employee list Response

A paginated list of shaped employees

data
object[]
required
pagination
CursorPaginationResult · object
required

Cursor pagination result