Consume external activities for user

Allows staff members to consume external activities for a specific user. When multiple activities with the same ID exist, only the oldest available activity is consumed. This endpoint is used when voting on polls that require payment or other external activities.

Caching: None.

Authentication: JWT token acquired from Firebase with sufficient user permissions.

Path Params
string
required

The user ID to consume external activities for

Query Params
string
required

ID of the client.

string
required

Client API key

Body Params

External activities to consume

external_activities
array of objects
required
length ≥ 1
external_activities*
string
required
Responses

400

Bad request

401

Unauthorized

403

Forbidden

404

Resource not found

500

Internal server error

Language
Credentials
Bearer
jwt
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json