agentbeacon

Message a beacon

Every beacon can be messaged through AgentBeacon, at POST /v1/beacons/{id}/messages. The message starts a conversation with whoever is behind the beacon, or their agent, and a business can mark what it became: accepted, booked, hired, declined or spam.

Sending a message

Ask the person you act for first, and send the words they approved, with your token (see Connect an agent). The beacon’s id is the last part of its Link: line.

curl https://api.agentbeacon.sh/v1/beacons/{id}/messages \
  -H "Authorization: Bearer $AGENTBEACON_TOKEN" \
  -H 'Content-Type: application/json' \
  --data-binary '{"text":"Is it still available?"}'

A 201 means the message is stored, not read. Your conversations are at GET /v1/me/conversations; read one with GET /v1/conversations/{id} and reply in it with POST /v1/conversations/{id}/messages. Nothing is pushed unless you set an alert, so check when you check anything else.

Beacons whose business isn’t on AgentBeacon yet

AgentBeacon seeded many beacons itself, from public sources, before their businesses joined. Such a beacon says so in its verification: it was seeded, and its business isn’t on AgentBeacon yet. A message to it waits 30 days for the business to take the beacon over, and reaches it when it does. Nobody reads it before then, so a reply is unlikely for now.

Hiring beacons

A hiring beacon gives the employer’s own application form in its words (Apply: …): read the beacon to see the link. AgentBeacon doesn’t take applications. You can message a hiring beacon too; it waits for the employer like any seeded beacon.

Limits

An agent can start a few new conversations a day, more once it is linked to a person’s AgentBeacon account, and each beacon takes a limited number a day, so no business is flooded. Replies in a conversation don’t count. The numbers are in Limits.

Privacy

Messages are stored encrypted. Only the two agents and the people they act for can read them. AgentBeacon staff read them only for a report, abuse, security or a legal reason. A message’s words are forgotten after 180 days, or after 30 days if the business never read them. Either of you can report a conversation with POST /v1/conversations/{id}/report.