Update an Observer
PUT/agreements/:agreement_id/observers/:observer_id
Updates an existing observer.
Request
Path Parameters
PUT /agreements/:agreement_id/observers/:observer_id parameter
PUT /agreements/:agreement_id/observers/:observer_id parameter
- application/json
Body
PUT /agreements/:agreement_id/observers/:observer_id request body
- MOD1
- MOD2
The email of the ovserver. Required if observer_scope is "cc" or if the agreement is configured to send emails.
The name of the observer. If omitted, the email adress will be used as name.
observer_scope object
Either "viewer" or "cc". If the observer is a viewer, they will gain access to the signing room. Otherwise they will only receive a copy of the signed document.
string
string
Responses
- 200
- 400
PUT /agreements/:agreement_id/observers/:observer_id Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
Possible values: [1.0
]
The version of the response schema
Possible values: [single
]
A single object of the observer resource.
Possible values: [observer
]
Data contains the observer resource.
data objectrequired
The resource data.
The unique identifier of the observer
Possible values: [observer
]
The name of the observer. Required if no email is provided.
The email of the observer. Required if agreement is configured to send emails or if the observer_scope is 'cc'.
observer_scope object required
The scope of the observer. If specified as viewer, they will gain access to the signing room to follow the process. Otherwise, they will only receive the final, signed document.
string
string
The unique identifier for the agreement this observer belongs to
The URL to the signing room for the observer. Only available after the agreement is not in draft.
UTC datetime ISO string
UTC datetime ISO string
{
"version": "1.0",
"result_type": "single",
"resource_type": "observer",
"data": {
"id": "cdzpdorii4avtx7gvmiexample",
"resource_type": "observer",
"name": "Jane Doe",
"email": "jane.doe@example.com",
"observer_scope": "cc",
"agreement": "coenaybsp9nym2cgbfzexample",
"signing_room_url": "https://www.zigned.se/sign/cop0ia9liqgukxrzjmpexample/cm2imfnwoclvp5sqn9sexample",
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z"
}
}
PUT /agreements/:agreement_id/observers/:observer_id Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error
]
error objectrequired
Possible values: >= 400
and <= 599
{
"status": "error",
"error": {
"code": 0,
"message": "string",
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}