curl --request POST \
--url 'https://gateway.amana.io/auth/nafath/request' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"idNumber": "<string>"
}'
import requests
url = "https://gateway.amana.io/auth/nafath/request"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"idNumber": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/nafath/request', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "idNumber": "<string>"}),
});
console.log(await response.json());
{
"random": "<string>",
"requestId": "<string>",
"transId": "<string>",
"nextStep": "nafath-verify"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Nafath sign-in
Request Nafath sign-in
Start a Nafath sign-in with the user’s national ID number. Returns a transaction ID for the rest of the flow.
POST
/
auth
/
nafath
/
request
curl --request POST \
--url 'https://gateway.amana.io/auth/nafath/request' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"idNumber": "<string>"
}'
import requests
url = "https://gateway.amana.io/auth/nafath/request"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"idNumber": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/nafath/request', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "idNumber": "<string>"}),
});
console.log(await response.json());
{
"random": "<string>",
"requestId": "<string>",
"transId": "<string>",
"nextStep": "nafath-verify"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Nafath sign-in is only for users in Saudi Arabia.
Body
Content type:application/json
string
required
Sign-up session ID returned by the first sign-up step.
string
required
Response
200 Success.
string
string
string
enum<string>
Available options:
nafath-verifyPossible Errors
| Error | Possible cause | What to do |
|---|---|---|
| 400 | Invalid or missing field | Check the request against the schema. |
| 403 | IP not whitelisted, or account restricted | Confirm your IP is whitelisted; otherwise contact Amana. |
| 429 / 5xx | Rate limit, or temporary issue on our side | Retry with backoff; contact support if it persists. |
curl --request POST \
--url 'https://gateway.amana.io/auth/nafath/request' \
--header 'Content-Type: application/json' \
--data '{
"sid": "<string>",
"idNumber": "<string>"
}'
import requests
url = "https://gateway.amana.io/auth/nafath/request"
headers = {"Content-Type": "application/json"}
payload = {
"sid": "<string>",
"idNumber": "<string>"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/nafath/request', {
method: 'POST',
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"sid": "<string>", "idNumber": "<string>"}),
});
console.log(await response.json());
{
"random": "<string>",
"requestId": "<string>",
"transId": "<string>",
"nextStep": "nafath-verify"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Last modified on October 8, 2026
