Skip to content
ajar.Book a demo

Message send

depop.message.send

View connector

Send one message in a Depop conversation

POST /v1/operations/depop.message.send

Headers

Authorization: Bearer YOUR_AJAR_API_KEY
x-depop-token: YOUR_DEPOP_TOKEN
x-idempotency-key: YOUR_UNIQUE_ATTEMPT_KEY
Content-Type: application/json

x-idempotency-key identifies one intended action. Generate a unique value, such as crypto.randomUUID(), before sending it. Use 1–128 letters, numbers, hyphens, underscores or periods. A duplicate attempt is rejected; it does not return a cached success. If a request times out, check the provider’s state before starting a new attempt with a new key. See the idempotency guide.

Sign in with a fresh Depop email link to receive a caller-held token. Send it in x-depop-token alongside your ajar API key.

Inputs

ParameterExample typeExample value
group_idstring"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
textstring"Is this item still available?"

Example input

{
  "group_id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "text": "Is this item still available?"
}
Open JSON schema

Input schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "group_id": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "text": {
      "maxLength": 1000,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "group_id",
    "text"
  ],
  "type": "object"
}