Add a contact to a client (a name or an email address is needed
post/org/{orgId}/clients/{id}/contacts
Add a contact to a client (a name or an email address is needed; one can be primary, several can be copied by default).
Before you call
- Credential
Authorization: Bearer $KEY- Scope
workspace:write- Mcp
rivier_clients_contact_add- Graphql
Mutation.workspaceOrgContactAdd- Sdk
workspace.orgContact.add- Cli
clients contacts add
Parameters
- orgIdstring (uuid)requiredIn the path
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- namestringDefault: . At most 200 characters.
- emailstring (email)Default: .
- phonestringDefault: . At most 60 characters.
- rolestringDefault: . At most 80 characters.
- isPrimarybooleanDefault: false.
- ccDefaultbooleanDefault: false.
Responses
- 201application/jsonSuccess
- contactobjectrequired
- idstring (uuid)required
- clientIdstring (uuid)required
- namestringrequired
- emailstringrequired
- phonestringrequired
- rolestringrequired
- isPrimarybooleanrequired
- ccDefaultbooleanrequired
- createdAtstringrequired
- contactobjectrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring