Representatives

Explains APIs available to interact with Representative objects in Score.

List representatives

get

This endpoint will list representatives. Pagination is supported using limit and offset query parameters.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · int32 · max: 50Optional

The number of representatives to return. Defaults to 10. Max is 50.

Default: 10
offsetinteger · int32Optional

The number of representatives to skip in pagination. Defaults to 0.

Default: 0
Responses
200

The request has succeeded.

application/json
get
/api/v1/representatives
200

The request has succeeded.

Add representative

post

Add a representative to a team.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
teamIdstringRequired
usernamestringRequired
passwordstringRequired
Responses
200

The request has succeeded.

application/json
post
/api/v1/representatives
200

The request has succeeded.

Last updated