Skip to main content
POST
/
jobs
Create Job (Legacy)
curl --request POST \
  --url https://api.techforgeinnovate.com/jobs \
  --header 'x-api-key: <api-key>'
{
  "message": "<string>"
}

Create Job (Legacy)

This endpoint is still reachable with an API key, but the controller now returns a deprecation message and does not create work. Use POST /jobs/v2 for all new integrations.

Example request

curl -X POST "https://api.techforgeinnovate.com/jobs" \
  -H "Content-Type: application/json" \
  -H "x-api-key: $TFI_API_KEY" \
  -d '{"job_type":"ai_talking_video"}'

Response

message
string
required
Deprecation notice pointing callers to POST /jobs/v2.
Example response:
{
  "message": "This endpoint is deprecated. Please use the new v2 endpoint at /jobs/v2 for improved functionality, better validation, and enhanced performance. Refer to the API documentation for migration details."
}

Status codes

  • 201 Created with a deprecation message under the current implementation
  • 401 Unauthorized when the key is missing or invalid