Skip to content
gist.link ↗

recordExternalActivity

Mutation CRM API — POST https://crm.api.gist.link/graphql

Mirror an event from another app onto the timeline (deduped via dedupeKey).

crm:mutation:recordExternalActivity

The calling IAM key must hold this permission (or a wildcard that covers it: crm:mutation:* or crm:*) and the access token must have been minted with audience=crm. See Permissions.

type Mutation {
recordExternalActivity(input: RecordExternalActivityInput!): Activity!
}
Argument Type Required Description
input RecordExternalActivityInput! Yes —

Activity! — see the CRM types reference.

Terminal window
curl https://crm.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RecordExternalActivity($input: RecordExternalActivityInput!) { recordExternalActivity(input: $input) { uuid kind body contactUuid companyUuid dealUuid authorUserUuid sourceApp } }",
"variables": {
"input": {
"body": "example",
"sourceApp": "example"
}
}
}
JSON