Request resources through API
Request resources programmatically using the Resource Request API for automation and scale. Retrieve requirements, upload documents, submit requests, receive status updates, and manage the full lifecycle through the API.
Prerequisites
You need:
- Active Infobip account
- Completion of Resources and Numbers overview
- Understanding of Resource request procedure
- Familiarity with HTTP requests and JSON
API overview
The Resource Request API supports programmatic requests for alphanumeric senders and phone numbers. It provides a structured workflow: retrieve requirements, upload documents, submit requests, receive updates, and manage request status throughout the lifecycle.
The API enables automation at scale. Integrate resource requests directly into your platform workflows, track status through webhooks, and respond to validation feedback programmatically.
The Numbers API is also available for number purchase workflows where you need to browse or select specific numbers before purchase. Use the Resource Request API when you want a structured request flow with requirements, document upload, status updates, and lifecycle management.
Supported request types [#supported-request-types-api-overview]
The Resource Request API supports three types of requests, each with different parameter requirements:
Alphanumeric sender registration
ALPHANUMERIC_REGISTRATION
Custom sender names for SMS. Requires country code.
Number purchase
NUMBER_PURCHASE
Phone numbers for SMS, Voice, and MMS. Requires country code, number type, and capabilities.
RCS sender launch
RCS_SENDER_LAUNCH
Activate RCS senders. Requires sender name, country code, traffic origin, and contact emails.
WhatsApp numbers are not purchased directly through the Resource Request API. Instead, purchase a standard virtual long number through this API, then follow the WhatsApp multi-step workflow to register and verify it for WhatsApp use.
Requesting a USA number (10DLC or Toll-Free) through this API is only the first step. After your number purchase is approved, complete brand registration and campaign registration through USA Sender Registration. Complete registration before sending traffic. Short codes must be purchased through the web interface, not the API.
API workflow
The process of requesting resources through the API follows a structured sequence of endpoints.
Get requirements
Retrieve all data and documentation requirements for your resource type.
Upload documents
Submit any required documents (if applicable).
Submit request
Submit your resource request with all required data.
Receive updates
Get notified of status changes through webhook.
Update or cancel
Respond to validation feedback or cancel if needed.
Request statuses [#request-statuses-api-workflow]
When you submit a resource request through the API, it progresses through multiple statuses during validation and processing.
| Status | Description |
|---|---|
PENDING | Request is being processed by Infobip. Team may reach out by email for additional data or updates. |
PENDING_REVIEW | Request is awaiting review by Infobip after submission. Precedes automatic validation or manual assessment. |
AUTOMATIC_VALIDATION | Request is undergoing automatic validation (data format, field requirements, value limits, and regex compliance). |
IN_REVIEW | Request is actively being reviewed by an Infobip team member to verify details, compliance, and completeness. |
IN_PROGRESS | Request has passed initial validation and is being processed internally. Approval, allocation, or provisioning is underway. |
UPDATE_REQUESTED | Automatic validation detected issues in submitted data. Requester must update the information. Feedback is provided through the requirementsFeedback array. |
UPDATE_REQUESTED_BY_INTERNAL_REVIEWER | Infobip reviewer has requested additional information or corrections. Request cannot proceed until updates are submitted. Feedback is provided through the requirementsFeedback array. |
COMPLETED | Request has been successfully processed and finalized. Resource is ready to use. |
REJECTED | Infobip has rejected the request. Cannot be updated; you must submit a new request. |
CANCELED | Request has been canceled by requester or system. |
For UPDATE_REQUESTED or UPDATE_REQUESTED_BY_INTERNAL_REVIEWER statuses, use the Update resource request endpoint to submit corrections.
Get requirements endpoint
Retrieve all required data and documentation fields for your specific resource type and country before submitting. This prevents validation failures by ensuring you gather all needed information upfront.
- Specify the request type (
ALPHANUMERIC_REGISTRATION,NUMBER_PURCHASE, orRCS_SENDER_LAUNCH). - Provide required parameters for your resource type.
- The API returns a list of required fields with their data types and validation rules.
Possible responses:
- No requirements needed (Numbers): Empty object returned. The number requires no additional documentation or data.
- No offer (Numbers): No appropriate offers available for the specified parameters (Error:
RES-NUM-LOOKUP404). - No registration (Alphanumeric senders): Alphanumeric registration not available for this country (unsupported or country allows any sender).
All requests are validated for syntax correctness, authorization and permissions, required field presence, field-specific rules (length, format, and pattern), and compliance requirements.
Upload documents endpoint
Submit required documentation files that will be attached to your resource request. Use this endpoint only if your Get requirements response includes fields of type DOCUMENT.
- For each required document field identified in requirements, prepare your document file.
- Call the Upload documents endpoint with your file.
- The API returns a document ID.
- Use this document ID when submitting your resource request.
This two-step process (upload first, then reference in request) ensures documents are properly stored and linked to your request.
Submit resource request endpoint
Submit your resource request with all required data and documents after gathering requirements and uploading any files.
Before submitting:
- Submit only after you have gathered all requirements and uploaded any required documents.
- Some numbers do not require additional data. Always call Get requirements first.
- Submission may incur charges depending on the resource type.
Receive updates webhook
Subscribe to status update webhooks to be notified when your request status changes, instead of polling the API. When your request status changes, the webhook delivers an event specifying the new status (COMPLETED, REJECTED, UPDATE_REQUESTED, and more).
This allows you to:
- Monitor request progress in real-time
- Automatically trigger actions when status changes
- Reduce polling overhead by receiving push notifications
Update resource request endpoint
Submit corrections or additional information when validation fails or Infobip requests clarification. Use this endpoint when automatic validation detected issues in your submitted data (UPDATE_REQUESTED status) or when an Infobip reviewer requested additional information (UPDATE_REQUESTED_BY_INTERNAL_REVIEWER status).
- Call Get resource requests to retrieve validation feedback in the
requirementsFeedbackarray. - Update the problematic fields based on feedback.
- Call Update resource request with the request identifier and corrected data.
- The request re-enters the validation and review process.
Alternative: For alphanumeric sender requests only, you can also edit directly from the My requests page in the web interface.
Cancel resource request endpoint
Cancel a resource request at any time before completion.
- Call Cancel resource request with the request identifier.
- Request status changes to
CANCELED. - The request is removed from the processing queue.
Alternative: You can also cancel through the web interface for both alphanumeric senders and number purchases.
Track your requests
Monitor status and respond to feedback after submission.
Manage resources
Configure, manage, and route inbound messages after approval.
Numbers
Number types, ownership models, and coverage.