Skip to content

Latest commit

 

History

History
75 lines (65 loc) · 2.86 KB

questionnaires.md

File metadata and controls

75 lines (65 loc) · 2.86 KB

Questionnaires

All automatic check-ins questions under a project are children of a questionnaire resource.

Endpoints:

Get questionnaire

  • GET /buckets/1/questionnaires/2.json will return the questionnaire for the project with an ID of 1.

To get the questionnaire ID for a project, see the Get a Project endpoint's dock payload. To retrieve its questions, see the Get questions endpoint.

Example JSON Response
{
  "id": 1069479343,
  "status": "active",
  "visible_to_clients": false,
  "created_at": "2022-11-22T08:23:58.246Z",
  "updated_at": "2022-11-22T08:25:12.647Z",
  "title": "Automatic Check-ins",
  "inherits_status": true,
  "type": "Questionnaire",
  "url": "https://3.basecampapi.com/195539477/buckets/2085958499/questionnaires/1069479343.json",
  "app_url": "https://3.basecamp.com/195539477/buckets/2085958499/questionnaires/1069479343",
  "bookmark_url": "https://3.basecampapi.com/195539477/my/bookmarks/BAh7CEkiCGdpZAY6BkVUSSIuZ2lkOi8vYmMzL1JlY29yZGluZy8xMDY5NDc5MzQzP2V4cGlyZXNfaW4GOwBUSSIMcHVycG9zZQY7AFRJIg1yZWFkYWJsZQY7AFRJIg9leHBpcmVzX2F0BjsAVDA=--6954f9a736e1acaa2632328b7ff8a9bcda0b1a10.json",
  "bucket": {
    "id": 2085958499,
    "name": "The Leto Laptop",
    "type": "Project"
  },
  "creator": {
    "id": 1049715914,
    "attachable_sgid": "BAh7CEkiCGdpZAY6BkVUSSIrZ2lkOi8vYmMzL1BlcnNvbi8xMDQ5NzE1OTE0P2V4cGlyZXNfaW4GOwBUSSIMcHVycG9zZQY7AFRJIg9hdHRhY2hhYmxlBjsAVEkiD2V4cGlyZXNfYXQGOwBUMA==--ff006accb6e013cca785190fa38f42c091d24f1e",
    "name": "Victor Cooper",
    "email_address": "victor@honchodesign.com",
    "personable_type": "User",
    "title": "Chief Strategist",
    "bio": "Don’t let your dreams be dreams",
    "location": "Chicago, IL",
    "created_at": "2022-11-22T08:23:21.732Z",
    "updated_at": "2022-11-22T08:23:21.904Z",
    "admin": true,
    "owner": true,
    "client": false,
    "employee": true,
    "time_zone": "America/Chicago",
    "avatar_url": "https://3.basecamp-static.com/195539477/people/BAhpBMpkkT4=--5520caeec1845b5090bbfc993ffe8eca8d138e14/avatar?v=1",
    "company": {
      "id": 1033447817,
      "name": "Honcho Design"
    },
    "can_manage_projects": true,
    "can_manage_people": true
  },
  "name": "Automatic Check-ins",
  "questions_count": 1,
  "questions_url": "https://3.basecampapi.com/195539477/buckets/2085958499/questionnaires/1069479343/questions.json"
}
Copy as cURL
curl -s -H "Authorization: Bearer $ACCESS_TOKEN" https://3.basecampapi.com/$ACCOUNT_ID/buckets/1/questionnaires/2.json