Query dispatch targets
GET/nevisfido/token/dispatch/targets
This is a proprietary nevisFIDO API used to retrieve all dispatch targets associated with a given user, providing the client with the information needed to select a destination for token dispatch.
A dispatch target represents a registered delivery channel — such as a mobile device or email address — and each entry in the response includes an identifier and a human-readable name.
The username query parameter is required; the server returns 400 if it is absent.
This endpoint is typically called before invoking the Token Service, allowing the client to present the user's registered devices and let them choose which one should receive the operation token.
Request
Query Parameters
The username whose dispatch targets are to be retrieved. Required.
Header Parameters
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 406
- 415
- 500
OK The server retrieved the dispatch targets for the user.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
dispatchTargets object[]
{
"dispatchTargets": [
{
"name": "string",
"id": "string",
"dispatcher": "string"
}
]
}
Bad Request The username query parameter is missing or the payload is not properly formatted.
Unauthorized The request was not authorized. There is an invalid SecToken or unresolved username.
Forbidden The specified user was not found in the credential repository.
Not Found No dispatch target could be found.
Method Not Allowed The method of the received request was not GET.
Not Acceptable The Accept header is not properly set to application/json.
Unsupported Media Type The Content-Type header is not properly set to application/json;charset=UTF-8.
Internal Server Error The server could not process the request because of an unexpected error.