Quick start
This page takes you from a new key to your first jobs in a few minutes.
1. Create a key
Open your partner dashboard and use Create key. Copy the key, which starts mjp_, into your server’s secrets. On your server, put it in an environment variable:
export MUSLIMJOBS_KEY="mjp_YOUR_KEY"2. Make your first request
curl -H "Authorization: Bearer $MUSLIMJOBS_KEY" \
"https://www.muslimjobs.io/api/partner/v1/jobs?limit=1"You get one job and a cursor for the next page:
{
"data": [
{
"id": "023bff2f-1ce6-409a-9726-fc13911a5f48",
"title": "Clinical Lead",
"company": {
"name": "Ihsan Health",
"logo_url": "https://www.muslimjobs.io/api/partner/v1/logos/8f2c….png",
"url": "https://www.muslimjobs.io/company/ihsan-health?ref=your-ref"
},
"location": { "city": "London", "country": "United Kingdom", "remote": "HYBRID", "remote_label": "Hybrid" },
"url": "https://www.muslimjobs.io/company/ihsan-health/job/clinical-lead-14054?ref=your-ref",
"apply_url": "https://www.muslimjobs.io/company/ihsan-health/job/clinical-lead-14054?ref=your-ref&apply=1",
"attribution": { "text": "via MuslimJobs", "url": "https://www.muslimjobs.io/?ref=your-ref" }
}
],
"next_cursor": "eyJ2IjoxLCJpIjoiMDIzYmZmMmYifQ"
}The job is shortened here. The job object lists every field.
Your partner dashboard shows the request within a few seconds.
3. Pull the whole feed
Ask for 100 jobs at a time and follow next_cursor until it’s null:
curl -H "Authorization: Bearer $MUSLIMJOBS_KEY" \
"https://www.muslimjobs.io/api/partner/v1/jobs?limit=100&cursor=NEXT_CURSOR"4. Show the jobs
Store the jobs, then show them from your own store. Link the title and the apply button to url and apply_url exactly as they are, and show the “via MuslimJobs” credit.
Next: Keeping in sync shows a complete sync job.