> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/company-terms-and-conditions-resource.md).

# Company Terms And Conditions Resource

## PUT /api/v1/company/terms/{termsId}

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"CompanyTermsAndConditionsDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"title":{"$ref":"#/components/schemas/MultiLanguage"},"detail":{"$ref":"#/components/schemas/MultiLanguage"},"content":{"$ref":"#/components/schemas/MultiLanguage"},"status":{"$ref":"#/components/schemas/TermsAndConditionsStatus"}}},"MultiLanguage":{"type":"object","description":"A translatable text value: a required default value plus optional per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\"). Consumers resolve the user's language from langValues (falling back to the base language, then to defaultValue).","properties":{"defaultValue":{"type":"string","description":"Fallback text used when there is no entry in langValues for the requested language.","minLength":1},"langValues":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\")."},"valid":{"type":"boolean"}},"required":["defaultValue"]},"TermsAndConditionsStatus":{"type":"string","description":"Status of terms and conditions (ACTIVE or ARCHIVED)","enum":["ACTIVE","ARCHIVED"]}}},"paths":{"/api/v1/company/terms/{termsId}":{"put":{"tags":["company-terms-and-conditions-resource"],"operationId":"updateTermsAndConditions","parameters":[{"name":"termsId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CompanyTermsAndConditionsDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CompanyTermsAndConditionsDTO"}}}}}}}}}
```

## GET /api/v1/company/terms

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"CompanyTermsAndConditionsDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"title":{"$ref":"#/components/schemas/MultiLanguage"},"detail":{"$ref":"#/components/schemas/MultiLanguage"},"content":{"$ref":"#/components/schemas/MultiLanguage"},"status":{"$ref":"#/components/schemas/TermsAndConditionsStatus"}}},"MultiLanguage":{"type":"object","description":"A translatable text value: a required default value plus optional per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\"). Consumers resolve the user's language from langValues (falling back to the base language, then to defaultValue).","properties":{"defaultValue":{"type":"string","description":"Fallback text used when there is no entry in langValues for the requested language.","minLength":1},"langValues":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\")."},"valid":{"type":"boolean"}},"required":["defaultValue"]},"TermsAndConditionsStatus":{"type":"string","description":"Status of terms and conditions (ACTIVE or ARCHIVED)","enum":["ACTIVE","ARCHIVED"]}}},"paths":{"/api/v1/company/terms":{"get":{"tags":["company-terms-and-conditions-resource"],"operationId":"getAllTermsAndConditions","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompanyTermsAndConditionsDTO"}}}}}}}}}}
```

## POST /api/v1/company/terms

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"CompanyTermsAndConditionsDTO":{"type":"object","properties":{"id":{"type":"string"},"companyId":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"title":{"$ref":"#/components/schemas/MultiLanguage"},"detail":{"$ref":"#/components/schemas/MultiLanguage"},"content":{"$ref":"#/components/schemas/MultiLanguage"},"status":{"$ref":"#/components/schemas/TermsAndConditionsStatus"}}},"MultiLanguage":{"type":"object","description":"A translatable text value: a required default value plus optional per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\"). Consumers resolve the user's language from langValues (falling back to the base language, then to defaultValue).","properties":{"defaultValue":{"type":"string","description":"Fallback text used when there is no entry in langValues for the requested language.","minLength":1},"langValues":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-language overrides keyed by language tag (e.g. \"es\", \"en\", \"pt-BR\")."},"valid":{"type":"boolean"}},"required":["defaultValue"]},"TermsAndConditionsStatus":{"type":"string","description":"Status of terms and conditions (ACTIVE or ARCHIVED)","enum":["ACTIVE","ARCHIVED"]}}},"paths":{"/api/v1/company/terms":{"post":{"tags":["company-terms-and-conditions-resource"],"operationId":"addTermsAndConditions","requestBody":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CompanyTermsAndConditionsDTO"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CompanyTermsAndConditionsDTO"}}}}}}}}}
```
