List postings
Lists the job postings of your Lever account.
GET https://cotlet.dev/api/v1/lever/postings
read
Returns the id, title, team, location and state of each posting. Use posting_id with list_opportunities to see the candidates of one job.
Parameters
| Name | Type | Description |
|---|---|---|
| state string | string | Posting state as Lever shows it, for example published, internal, closed or draft. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/lever/postings \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("lever", "list_postings") const result = await cotlet.call('lever', 'list_postings'); cotlet call lever list_postings Example response
{
"postings": [
{
"posting_id": "7d2b4e91-3a6c-4f08-b1e5-9c0a8d3f6e27",
"title": "Senior Designer",
"team": "Design",
"location": "Remote, Europe",
"state": "published"
},
{
"posting_id": "1f8c5a30-9e4d-47b2-a6d3-5b0e7c2a9f14",
"title": "Recruiting Coordinator",
"team": "People",
"location": "Berlin",
"state": "published"
}
],
"next_cursor": null
}