---
title: "POST /api/v1/customertenants/{customerTenantId}/agreements"
method: POST
path: "/api/v1/customertenants/{customerTenantId}/agreements"
tags: ["CustomerTenantAgreements"]
---

# POST /api/v1/customertenants/{customerTenantId}/agreements

`POST /api/v1/customertenants/{customerTenantId}/agreements`

## Request

- Base URL: `https://api.crayon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.crayon.com/api/v1/customertenants/{customerTenantId}/agreements`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/crayon/apis/crayon-group-customer-api/docs/api/v1/customertenants/:customerTenantId/agreements/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `customerTenantId` integer, required

## Request body

- ServiceAccountAgreement
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `phoneNumber` string, nullable
  - `email` string, nullable
  - `dateAgreed` string, date-time
  - `agreementType` 0 | 1

## Response `200`

Success

- ServiceAccountAgreement
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `phoneNumber` string, nullable
  - `email` string, nullable
  - `dateAgreed` string, date-time
  - `agreementType` 0 | 1

---

[API](https://skmtc.dev/crayon/apis/crayon-group-customer-api.md) - [All operations](https://skmtc.dev/crayon/apis/crayon-group-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/crayon/apis/crayon-group-customer-api/revisions/55939d9eb11f?raw)
