GET
/
v2
/
project
/
phase
curl --request GET \
  --url https://api.sonderplan.com/v2/project/phase \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 20293,
      "name": "Deliverables due to client",
      "project_id": 2776,
      "type_id": 2,
      "start": 1669802192,
      "end": 1670234192,
      "color_background": "#B0A7F1",
      "color_text": "#000000",
      "created_id": 3,
      "created": 1388552400,
      "updated_id": 3,
      "updated": 1388552400
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

One or more (comma seperated) id's of project phases to retrieve

name
string

Perform a partial match text search for the project phase name

type_id
integer

Perform an exact match for the project phase type_id

project_id
integer

Perform an exact match for the project phase project_id

color_background
string

Perform a partial match text search for the project phase background color

color_text
string

Perform a partial match text search for the project phase text color

fields
string

Comma seperated list of fields you wish to return

page
integer

Specify the page of results you wish to return

limit
integer

The number of results returned per page. Default if not specified is 10

order_asc
string

Specify the field (with type of string or integer) you wish to order (ascending) the response with

order_desc
string

Specify the field (with type of string or integer) you wish to order (descending) the response with

filter_operator
enum<string>
default:OR

Specify if multiple filters should be combined with OR or AND logic

Available options:
OR,
AND

Response

200
application/json
Successful Operation
data
object[]

The default project phase schema which contains all of these fields

meta
object