Accept Terms of Service (since 1.2)

POST https://api.speakap.io/networks/:eid/tos/accept

Since

1.2

Request

URI:/networks/{networkEID}/tos/accept
Method:POST
Accept:application/vnd.speakap.api-v1.8.2+json+hal
Content-Type:application/x-www-form-urlencoded
Authentication:OAuth 2.0

Parameters

Name Type Description
networkEID EID Network EID

Request body

Name Description
privacy_statement_version Version number (major.minor) of the Privacy Statement
terms_of_use_version Version number (major.minor) of the Terms of Use

Response

Status code

200:Successfully accepted Terms of Service: returns a Feedback object
400:Unknown version number(s): returns an Error object
404:Unknown network: returns an Error object
409:A newer version exists: returns an Error object

Entity body

The entity body will be a regular feedback object with the following additional data:

Name Type Description
privacy_statement string Optional Latest accepted version number
terms_of_use string Optional Latest accepted version number