Consent
List consents
GET
https://app.bookboost.io/api/v2/partners/resources/app/{id}/consents
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | ID of an app within organization |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Organization API key |
Create consent
POST
https://app.bookboost.io/api/v2/partners/resources/app/{id}/consents
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | Id of an app within organization |
Request Body
Name | Type | Description |
---|---|---|
name* | String(2048) | Consent name |
code | String(32) | Short code, can have any value |
type | String(32) | Consent type, can have any value |
consent_body | String(2048) | Consent content |
description | String(2048) | Consent description |
Update existing consent
PUT
https://app.bookboost.io/api/v2/partners/resources/app/{app_id}/consents/{id}
At least one of body params are required
Path Parameters
Name | Type | Description |
---|---|---|
app_id* | String | Id of an app within organization |
id* | String | Consent ID |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Organization API key |
Request Body
Name | Type | Description |
---|---|---|
name | String(2048) | Consent name |
code | String(32) | Short code, can have any value |
type | String(32) | Consent type, can have any value |
consent_body | String(2048) | Consent content |
description | String(2048) | Consent description |
Delete consent
DELETE
https://app.bookboost.io/api/v2/partners/resources/app/{app_id}/consents/{id}
Path Parameters
Name | Type | Description |
---|---|---|
app_id* | String | ID of an app within organization |
id* | String | Consent ID |
Last updated