Jahzha
    Jahzha
    • Jahzha API Documentation
    • User Credentials
      POST
    • Create Order
      POST

      User Credentials

      Developing
      POST
      https://company.jahzha.com.sa/api/v1/user-creds
      This endpoint authenticates a user using their email and password credentials. Upon successful login, it returns the user’s API credentials, including:
      api_key
      secret_key
      public_key

      Request

      Header Params

      Body Params multipart/form-data

      Responses

      🟢200Success
      application/json
      Body

      🟠422Validation Error
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://company.jahzha.com.sa/api/v1/user-creds' \
      --header 'Accept: application/json' \
      --form 'email="example@email.com"' \
      --form 'password="password123456"'
      Response Response Example
      200 - Success
      {
          "status_code": 200,
          "message": "Authenticated successfully",
          "data": {
              "api_key": "dummy_key",
              "secret_key": "sk_dummy_secret",
              "public_key": "pk_dummy_public"
          },
          "additional_data": []
      }
      Modified at 2025-08-25 12:55:40
      Previous
      Jahzha API Documentation
      Next
      Create Order
      Built with