Skip to main content
POST
/
actions
cURL
curl --request POST \
  --url https://letterby.com/api/v4/actions \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "name": "<string>",
  "contactId": "<string>",
  "increase": 1
}
'
{
  "data": {
    "action": {
      "id": "<string>",
      "name": "<string>",
      "increase": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "subId": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.letterby.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apiKey
string
header
required

API key to authorize requests

Body

application/json
name
string
required

Name of the action

contactId
string
required

ID of the contact performing the action

increase
integer
default:1

Points to increase (default: 1)

Response

Action created successfully

data
object