Space Documents
Create a space document
post/1.0/space-documents
Request
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"spaceDocumentId": 201,
"spaceDocumentName": "Sample file",
"space": {
"spaceId": 201,
"spaceName": "General space"
},
"spaceDocumentType": "ROCKETLANE_DOCUMENT",
"url": "https://www.google.com",
"source": {
"templateId": 201,
"templateName": "Meeting Notes"
}
}Response
The resource was successfully created in the database.
Example response
{
"spaceDocumentId": 201,
"spaceDocumentName": "Sample file",
"space": {
"spaceId": 201,
"spaceName": "General space"
},
"spaceDocumentType": "ROCKETLANE_DOCUMENT",
"url": "https://www.google.com",
"source": {
"templateId": 201,
"templateName": "Meeting Notes"
},
"createdAt": 1680616174929,
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedAt": 1680616174929,
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"private": true
}Changes
No recorded changes to this operation across all 2 revisions of this API.