Skip to main content
In this guide you create a Hebrew voice agent with curl, give it instructions, publish it and have it call your phone. For what the platform does for Hebrew, see Hebrew support.

Before you start

  • An API key from the dashboard: Settings → API Keys. It needs agents:read, agents:create, agents:update, calls:create and calls:read.
  • curl and jq.
  • For the test call: an Israeli phone to ring and at least $1.00 of credit.

1. Create the agent

"language": "he" makes it speak and listen in Hebrew. greeting_message is the line it opens the call with.
The answer is the whole agent, 201, unpublished. Sending the same request again with the same Idempotency-Key returns the same agent instead of making a second one. See Create Agent.

2. Add instructions

An agent’s instructions live in its workflow. Write them to a file:
Read the saved draft, replace global_instructions and save it back. expected_version must be the draft version you read, so a save never overwrites somebody else’s change.
Saving changes only the draft. See Save workflow draft.

3. Check and publish

Check the draft, then publish it. Calls run the published version.
valid is true and the publish returns the new revision. The new agent has strict mode off, so the check lists the advisory strict_off_guidance; it does not block publishing.

4. Test it on your phone

A test call needs only the number to ring. It comes from your workspace’s number, or from a Yappr test line when you have none. First see which:
Then place it, with your own number in to. This is a real phone call, billed per minute from your credit, and it follows your outbound calling hours.
Prefer not to dial? Open the agent in the dashboard, press Test and choose In the browser.

5. Read the transcript

The call is accepted first and dialled a few seconds later. Read the request until it has a call_id:
After you hang up, give the analysis a moment and read the call:
The transcript and summary are in Hebrew. If analysis.status is still pending, read it again.

Clean up

Remove the agent when you are done:
Send a new Idempotency-Key in step 1 if you run the guide again: a key whose agent was removed answers 410 AGENT_CREATION_GONE.

Next steps