Skip to main content

Get a participant's details

This endpoint enables you to get participant details.

How to use

You can use the following cURL to obtain a response from this endpoint:

curl --location --request GET https://nodeapi.superviz.com/participants/{id} \
--header "Authorization: Bearer ${TOKEN}" \
--header "apikey: ${APIKEY}"

HTTP Request

GET https://nodeapi.superviz.com/participants/{id}

In the request, you will need to send in the path following field:

NameDescription
idRequired. The ID of the participant.

Headers

When using this endpoint, you need to provide the Authorization Bearer token and the API Key. The following headers are required:

NameDescription
AuthorizationRequired. You must utilize the authentication token.
apikeyRequired. You must utilize the SuperViz Token that can be found on the developer page. By utilizing this key, we will define whether to get data from the developer or the production environment.

Response

Status code 200 will indicate a successful result in getting the participant details. The response will be in JSON format and include the following fields:

NameTypeDescription
idstringThe ID of the participant.
namestringThe name of the participant.
emailstringThe email of the participant.
avatarstringThe avatar of the participant.
createdAtstringThe date and time of the participant's creation.

Example:

{
"id": "example-id",
"name": "John Doe",
"email": "john@doe.com",
"avatar": "https://example.com/avatar.png",
"createdAt": "2021-05-30T21:23:00.000Z"
}