Projects

Read project activity state

GET
/api/projects/{projectId}/lifecycle/state

Authorization

headerAuthorizationBearer <Postdot API key>

A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.

Path Parameters

projectId*string
Length1 <= length

Response Body

Response for status 200

application/json
  1. response
state*string
Value in"active""archiving""archived""deleting""deleted"
Example Request
curl -X GET 'https://postbot.example/api/projects/string/lifecycle/state'
Example Response
{
  "state": "active"
}

Was this page helpful?