Activities
Activities
Create activity
Create an activity for a member
POST
/
v1
/
activities
Copy
curl --request POST \
--url https://api.useconquest.com/v1/activities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activityTypeKey": "api:message",
"externalId": "<string>",
"title": "<string>",
"message": "<string>",
"replyTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reactTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inviteTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
Copy
{
"activity": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>",
"title": "<string>",
"message": "<string>",
"replyTo": "<string>",
"reactTo": "<string>",
"inviteTo": "<string>",
"source": "Api",
"activityTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Activity created successfully
The response is of type object
.
Copy
curl --request POST \
--url https://api.useconquest.com/v1/activities \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"activityTypeKey": "api:message",
"externalId": "<string>",
"title": "<string>",
"message": "<string>",
"replyTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reactTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inviteTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
Copy
{
"activity": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>",
"title": "<string>",
"message": "<string>",
"replyTo": "<string>",
"reactTo": "<string>",
"inviteTo": "<string>",
"source": "Api",
"activityTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.