/intercoms/{intercom_id}/enrollment-code
Read a 1Key intercom's enrollment code
Needs the
intercoms:write
scope.
The code to enter on the intercom's screen to enroll it: six digits, one use, for 24 hours. The same code until it's used or expires, then a new one. For an intercom managed in 1Key.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
intercom_id
|
path |
string
|
The intercom's ID, its Serial (lowercase). |
Responses
200
The code.
Errors
unauthenticated
Missing, malformed, revoked or unknown API key.
insufficient_scope
The key lacks the scope this operation needs.
not_found
No such resource, or it is not your organization's.
conflict: the intercom is managed by 1Valet.